How to place Quasar web page on a sub url?
-
I can’t seem to find a solution for the following problem:
I want to serve my quasar webpage in dev from
https://mysite.test/app
- so that the script files are also served fromhttps://mysite.test/app/script.js
And later in prod I want to serve my webpage from
https://mysite.com/app
and the scripts from
https://mysite.com/app/script.js
Is that possible?
-
What’s the purpose of doing this?
Scott
-
check out the ‘publicPath’ build property:
https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
looking at the url’s you want you also have to use history mode. ( it’s called vueRouterMode and is explained on the same page). Know that history mode comes with more configuration on the prod server .