setting publicPath breaks devServer #15838
-
I have a simple SPA that needs to be deployed in a nested directory. I'm setting
However, it breaks the app locally while running on devServer. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
one way is to set your public path on production only, something like:
edit: sorry i missed the last part of your question |
Beta Was this translation helpful? Give feedback.
-
This only works partially that the links are not properly updated for other files in folder assets, including *.js, *.icons, etc. How can I fully achieve this? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
one way is to set your public path on production only, something like:
edit: sorry i missed the last part of your question
https://quasar.dev/quasar-cli-vite/api-proxying
https://quasar.dev/quasar-cli-webpack/api-proxying