Bridged remote app component as nested Route in Vue 3 #4186
Unanswered
Wwwolfgang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, im testing with the bridge-vue3 plugin to build a system with one shell app and multiple remote apps. The idea would be to register the remotes as nested children under a '/apps' route. That would give me the ability to render the remote apps in a router view inside the apps component and maybe create a tab system, where each tab would represent a route to a remote app.
Im running into trouble when trying to make this work. Im working with rsbuild and have a setup like this:
When I'm running this in a setup where the remote is a first level route, meaning its not a child route, than the remote is getting rendered without a problem. But when the remote is a nested route, I only see this warning in the console
[Vue Router warn]: No match found for location with path "/remote1"The setup in the remote is like this:
And the export-app.ts config looks like this:
I dont know maybe bridge wasn't build for this and only supports first level routes.
Beta Was this translation helpful? Give feedback.
All reactions