Url start with (#)
hello everyone, my problem is how to replace the (#) in url.
there always one # in my url, is there any ideas about this?
This has to do with Vue Router hash mode, which is its default mode. You may be interested in Vue Router’s history mode. But you need to understand the differences as it has an impact to the public path (you probably going to need to change it to “/”). Switching to history mode will force you to revise all static assets paths used in your app. Head on to Vue Router’s documentation: https://router.vuejs.org/en/
@ballma have you also set history mode in src/router.js ? Please read Vue Router documentation top bottom.
@ballma thanks for calling attention to this. Setting
vueRouterMode: 'history',in my
quasar.conf.jscleared things right up. This was a
quasar createproject and maybe the install script could give you the
historyoption as does
vue create. In any event: happiness in Mudville.