Can i expose whole nextjs app ? #1979
Replies: 3 comments 2 replies
-
Next is entry point based. Meaning that _app and it’s pages are their own entry points. Webpack doesn’t know about each file in pages. I generally don’t use _app at all and just expose the pages individually _app causes unknown problems since importing a federated page has no reference that _app exists or is needed |
Beta Was this translation helpful? Give feedback.
-
I have the same question. |
Beta Was this translation helpful? Give feedback.
-
Next.js support is ending. look at pinned issue |
Beta Was this translation helpful? Give feedback.
-
just like in an iframe, the app runs fully independently can I expose my whole next app using this package? a component example is working fine for me, but I need to expose the whole next app so it should run independently just like an iframe.
when i try to do it, i get invalid hook call on _app.tsx <Component {...pageProps} />
please help me.
@ScriptedAlchemy
Beta Was this translation helpful? Give feedback.
All reactions