How export dynamic html file in App router
Unanswered
Pacific sand lance posted this in #help-forum
Pacific sand lanceOP
Hi,
In pages router of next js with ouput: "export" config after running next build for dynamic pages like [id]/index.js next create a [id].html file for this dynamic page, but in app router we must add generateStaticParmas function to page and there is no way to create [id].html file and we must specify all params to create 1.html, 2.html and so on....
Any one has any solution to get pages export behaviour in app router.
In pages router of next js with ouput: "export" config after running next build for dynamic pages like [id]/index.js next create a [id].html file for this dynamic page, but in app router we must add generateStaticParmas function to page and there is no way to create [id].html file and we must specify all params to create 1.html, 2.html and so on....
Any one has any solution to get pages export behaviour in app router.