Help needed! Im building mobile native apps using capacitor with an existing NextJs website
Unanswered
xdaemon posted this in #help-forum
xdaemonOP
I have an existing project which was built using Nextjs , certain pages were created using SSR way ,had dynamic routes */[id] .
for building capacitor app,we should do next build and next export right
1.Is it possible to do export without converting pages from ssr to csr
2.I have used middleware to protect the routes,will it work?
any ideas about converting an existing nextjs app to capacitor native apps.
for building capacitor app,we should do next build and next export right
1.Is it possible to do export without converting pages from ssr to csr
2.I have used middleware to protect the routes,will it work?
any ideas about converting an existing nextjs app to capacitor native apps.
1 Reply
Dutch
I would recommend making a seperate mobile app instead. I tried that capacitor way once but its just WebView wrapper and many things could go wrong