-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
When you run the full solution:
-host app
-
- child app 1
-
-
<router-link :to={name:"childApp2Route"}>link</router-link>
-
-
- child app 2
this use-case will work when you run the child app from the host app because the child plugin will enrich the router of the child app with the routes of its sibling.
Although, when you're trying to run the child app directly from the browser, it doesn't have those routes, so vue router will throw exceptions.
Suggested solutions:
- Define other siblings' routes specifically. very strict, but less convenient to the user.
- Create a
MicrofRouterLinkcomponent that is less strict (somehow seems very dangerous to me, and needs to be able to debug the routes).
If you have any new suggestions, please comment here or commit a PR.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requesthacktoberfesthelp wantedExtra attention is neededExtra attention is needed