When update the page show message warning when it use vue router dynamically
matteo6b opened this issue · comments
Mateo Bistuer Sallan commented
Reproduction
https://stackblitz.com/edit/vitejs-vite-xflg3u?file=src%2Frouter.ts
Steps to reproduce the bug
When you stay in dynamically route created and update the page wIth F5
Expected behavior
You wouldn't have any warning errors.
Actual behavior
Additional information
No response
Eduardo San Martin Morote commented
When reloading the router requires you to add the routes again, so it’s normal it can’t find the location