-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to destroy the router and create a new one ? #954
Comments
No, that's not possible. How should that work in your case, exactly? I don't really understand the usecase. |
It's a php ajax application with some modules loaded via ajax. I want after I load a module, which is actually a vue component and it has its own internal navigation, to be able to navigate inside the module with vue router. |
Closed in favour of #888 which was the original request |
I don't understand. Is it possible to do it or not? |
no, it's not. What is possible is to add new routes |
Since we cannot modify the routes at runtime I have the following issue. A php/ajax application - I load content from ajax containing a Vue app inside with router - its working fine. But when I click a link from the navigation I want to load another page with other router + app inside. Is it possible to destroy the router so I can build a new one and/or whats the best way to achieve this ?
The text was updated successfully, but these errors were encountered: