deleteman / multi-zone-microfrontends

Example micro frontends using Nextjs multi-zone feature
4 stars 1 forks source link

Issue with redirecting from child app to main app #1

Open blackpanther1881 opened 1 year ago

blackpanther1881 commented 1 year ago

Not able to redirect from child to main app Can you help me how to do it.

deleteman commented 1 year ago

Hey @blackpanther1881 can you give me more details? Perhaps show me some code?

blackpanther1881 commented 1 year ago

Hey @deleteman.

Screenshot 2023-06-21 at 3 34 49 PM

this is the main app rewrites config.

Screenshot 2023-06-21 at 3 35 33 PM

this one my child app next config,

I'm able move between apps, but when route to root directory('/') in my child app, my entire app getting refreshed, and it's only happening with root path('/') that too on production, I'm using Link from next/link. any help really helpfull