quasar icon indicating copy to clipboard operation
quasar copied to clipboard

Documentation for `build.publicPath` should mention about `vueRouterBase`

Open jmsuresh opened this issue 4 years ago • 3 comments

Someone trying to modify publicPath to get the SPA deployed using a framework such as django is going to need to modify vueRouterBase (most likely set it to "/"). It would be helpful if this tip is present in the documentation for build.publicPath.

jmsuresh avatar Dec 14 '21 06:12 jmsuresh

You mean this: https://quasar.dev/quasar-cli/quasar-conf-js#property-build ? 2 rows below publicPath

pdanpdan avatar Dec 15 '21 08:12 pdanpdan

Yes. Currently the content is as below:

publicPath String Public path of your app. By default, it uses the root. Use it when your public path is something else, like “:///some/nested/folder” – in this case, it means the distributables are in “some/nested/folder” on your webserver.

jmsuresh avatar Dec 21 '21 09:12 jmsuresh

Property Type Description
publicPath String Public path of your app. By default, it uses the root. Use it when your public path is something else, like “:///some/nested/folder” – in this case, it means the distributables are in “some/nested/folder” on your webserver.
vueRouterBase String Force vue router base with your custom value; configure only if you really know what you are doing, otherwise you can easily break your app. Highly recommended is to leave this computed by quasar/app.

MilosPaunovic avatar Dec 21 '21 09:12 MilosPaunovic