Skip to content

Failed: static export + dynamic routes + a subpath (assetsPrefix) #10783

Answered by ijjk
Izhaki asked this question in Help
Discussion options

You must be logged in to vote

Hi, the assetPrefix isn't meant to be manually added to each path in the exportPathMap and is only meant for pointing the bundles/assets URLs to the correct location. If you want your pages nested you can add your export paths like normal (without the assetPrefix added to them) and then once export is complete deploy the contents of the out directory to the subdirectory you want it served under

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Izhaki
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants