0👍
This has nothing to do with vue-router
because it’s a server configuration whenever you use mode: 'history'
Have a look at https://router.vuejs.org/en/essentials/history-mode.html with the server configurations of your preference.
- [Vuejs]-Function only gets called once in NuxtJs
- [Vuejs]-Why isn't my X axes on my bar chart starting from zero?
Source:stackexchange.com