Help with vue and vue router needed


  • | 233 points

    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


  • administrators
    | 112819 points

    @paulbcon : Sure - can you provide more information, a github repo will be helpful?


  • | 233 points

    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 }
    ]


  • administrators
    | 112819 points

    @paulbcon : I'm glad you found a solution for that :)
    Cheers!


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.