You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im building my nuxt project and uploading .nuxt/dist/client files to s3 (+cloudfront). With extractCss: true im facing an issue where the build creates a .css file in some folder and then in the build code, that file is used but with two slashes on the path. So when i run the project i always get a 404 error because the cdn cant find that file there because of the two slashes.
Example:
.nuxt/dist/client/pages/editables/_param/index/[hash].css
But on the .nuxt/dist/server/client.manifest.json and on some other client files, its referenced as 'pages/editables/_param/index//[hash].css'
So the double slash there is making the 404 error. I could fix this with some rule on the cdn but i think that there should be a smarter solution or im making some mistakes.
The text was updated successfully, but these errors were encountered:
Im building my nuxt project and uploading .nuxt/dist/client files to s3 (+cloudfront). With extractCss: true im facing an issue where the build creates a .css file in some folder and then in the build code, that file is used but with two slashes on the path. So when i run the project i always get a 404 error because the cdn cant find that file there because of the two slashes.
Example:
.nuxt/dist/client/pages/editables/_param/index/[hash].css
But on the .nuxt/dist/server/client.manifest.json and on some other client files, its referenced as 'pages/editables/_param/index//[hash].css'
So the double slash there is making the 404 error. I could fix this with some rule on the cdn but i think that there should be a smarter solution or im making some mistakes.
The text was updated successfully, but these errors were encountered: