[Vuejs]-How can I use one of my vue instances to be loaded in a separate html page

0👍

Here’s what I had in mind:

const router = new VueRouter({
    routes: [
        { 
            path: '/livedisplay', 
            component: Live 
        },
        { 
            path: '/', 
            component: Main,
            children: [
                { 
                    path: '/', 
                    component: Home
                },
                { 
                    path: '/about', 
                    component: About
                },

            ] 
        },
    ]
})

Your menu and navigation would be within the “Main” component

Leave a comment