O
O
olezhenka2018-04-27 11:50:44
Vue.js
olezhenka, 2018-04-27 11:50:44

Why isn't mounted fired on a redirect?

when I just go to /account all created and mounted are fired.
when I go to / beforeEach on the router redirects me to /account but created and mounted no longer work...
What is the reason? How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kulakov, 2018-04-27
@kulakoff Vue.js

Obviously, when the router moves you to the same component from which it wants to leave, it does not recreate this component, respectively, these events are not called.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question