Help with vue and vue router needed
-
Can you help me find out why my vue components did not render when I am using laragon?Is there any setup that I needed to add aside from the installation guide by vue router?TIA
-
@paulbcon : Sure - can you provide more information, a github repo will be helpful?
-
Thank you for the reply, I found a solution to my dilemma by adding the "default" word at the routes path
let routes = [
{ path: '/dashboard', component: require('./components/Dashboard.vue').default },
{ path: '/profile', component: require('./components/Profile.vue').default }
]
-
@paulbcon : I'm glad you found a solution for that
Cheers!