Relative publicPath #17946
Unanswered
GrishinAV
asked this question in
General - Components / Directives / etc
Relative publicPath
#17946
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions