Removing # from the generated url of Quasar CLI app #9730
Answered
by
rstoenescu
Ammamon
asked this question in
General - Components / Directives / etc
-
How to remove # from the generated url of Quasar CLI app? |
Beta Was this translation helpful? Give feedback.
Answered by
rstoenescu
Jun 19, 2021
Replies: 2 comments 1 reply
-
Switch to Vue Router "history" mode instead. Make sure that you read about 'history' mode first and understand the difference between it and 'hash'. Deployment webserver needs to be correctly configured in order for it to be able to work. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rstoenescu
-
Docs on this: https://router.vuejs.org/guide/essentials/history-mode.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Switch to Vue Router "history" mode instead.
quasar.conf.js > build > vueRouterMode: 'history'
Make sure that you read about 'history' mode first and understand the difference between it and 'hash'. Deployment webserver needs to be correctly configured in order for it to be able to work.