Open imtiger opened 2 months ago
Hi, @imtiger
Electron can handle only static files in production mode, so nextron needs to run the command next export
(currently next build
with { output: 'export' } in next.config.js).
You can use app router as long as you can export static files, otherwise it is not supported. So we don't have examples of app router 🙇
@imtiger i guess u want to use the app router mode of nextjs. u can adjust your structure of renderer directory by urself, according to app router mode. like this cc @saltyshiomix
@imtiger i guess u want to use the app router mode of nextjs. u can adjust your structure of renderer directory by urself, according to app router mode. like this cc @saltyshiomix
thanks,I have make it work using app router
the default created project using the page router,but I want to using the app router ,how can id do it? Is there an examerple for the next js app router?