0👍
You provide little information (close to none at all), so I have to guess:
you didn’t configure your backend to support a router running in history mode.
how to do that depoends on the backend you are using – some solutions are documented in the router docs here:
https://router.vuejs.org/guide/essentials/history-mode.html
If your shared hosting doesn’t allow you to customize the config accordingly, you will have to either:
- switch to ‘hash’ mode for routing
- find a better hosting provider
Source:stackexchange.com