-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
What happened?
In Quasar 2.16 publicPath by default with vueRouterMode: 'hash' was relative (resource files in index.html were created with no / at the beginning). Now after upgrading Webpack and Quasar to 2.18 I can't set the relative path. PublicPath values: "./", "", undefined result in publicPath equal to "/".
We deploy many instances of our SPA application on relative paths with vueRouterMode: hash , but with different configs. And it makes no sense for us to build each instance with a different public path. After the update, we were forced to roll back. I think a similar problem may arise not only with us.
What is the explanation for the change in publicPath behavior? Is there any way to set a relative publicPath?
The setting does not work according to the documentation https://cli.vuejs.org/config/#publicpath
What did you expect to happen?
I want to set the relative publicPath as it was before
Reproduction URL
No
How to reproduce?
Build project
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
No response