You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But my main app is not aware of my plguin's routes and it throws below error when i click on 'updateEmail' link from my main app ProfileInfo page where it used my ProfileInfoComponent:
[vue-router] Route with name 'UpdateEmail' does not exist
The text was updated successfully, but these errors were encountered:
Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.
Version
3.3.2
Reproduction link
https://new-issue.vuejs.org/?repo=vuejs/vue-router
Steps to reproduce
I have developed a plugin and i am able to load it in my main app. And install method looks like below and following is its routes.
my plugin has one main component i am exporting as pplugin:
my plugin ProfileInfo has following router:
What is expected?
When i register a plugin , i was expecting all its routes will act in main app without any issue.
In my main app's main.ts file:
The following link has code which is exactly what my plugin code looks like.. And i am trying to achieve this behaviour in any app which uses it .
https://jsfiddle.net/yyx990803/L7hscd8h/
What is actually happening?
But my main app is not aware of my plguin's routes and it throws below error when i click on 'updateEmail' link from my main app ProfileInfo page where it used my ProfileInfoComponent:
[vue-router] Route with name 'UpdateEmail' does not exist
The text was updated successfully, but these errors were encountered: