Answer the question
In order to leave comments, you need to log in
How to disable page reload when navigating through browser back/forward buttons when using vue-router?
Symfony project.
One page uses vue.
Component rendering is toggled using vue-router (mode: 'history').
When navigating through the local menu (router-link), the switch happens normally (no page reload). When navigating through the browser (back/forward), the required component is displayed and then the entire page is reloaded immediately.
Where to dig?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question