0👍
Are you using history option with createRouter?
import { createRouter, createWebHistory } from 'vue-router';
const router = createRouter({
history: createWebHistory(),
...
})
Edit:
I put together a small demo that you can try. On a very basic level, it is simulating router history.
https://codesandbox.io/s/router-history-with-parameters-yv002y
- [Vuejs]-Tring to Import Vue into the Vue router
- [Vuejs]-How can I disable selecting a particular date in a VCalendar Date Picker?
Source:stackexchange.com