0👍
router.push expects a path so
this.$router.push('dashboard');
should do the trick
- [Vuejs]-Vue router check if direct route
- [Vuejs]-How to disable an already selected option in a dropdown menu?
Source:stackexchange.com
0👍
router.push expects a path so
this.$router.push('dashboard');
should do the trick