0๐
So my apologies for wasting your time with this! this was a typo on my end!
The problem was on this line:
import VueRouter from './App.vue'
which needed to be:
import VueRouter from 'vue-router';
- [Vuejs]-How I can call function with params in function in VUE.js methods?
- [Vuejs]-How would one convert a razor loop into a Vue.js component?
Source:stackexchange.com