I have other component files Home.vue,Documents.vue and Contributors.vue.
I am trying to achieve the following
const routes = [{
path: '/dashboard/home',
name: 'home',
component: Home
},
{
path: '/dashboard/documents',
name: 'documents',
component: Documents
},
{
path: '/dashboard/Contributors',
name: 'contributors',
component: Contributors
},
];
As per the above route file, when someone access the dashboard url it is should open up the relevant vs-tab component and also show the vs-tabs on the page as well.
I am trying to work out a solution where accessing url routes will open the correct tab component
Dashboard.vue `
I have other component files Home.vue,Documents.vue and Contributors.vue.
I am trying to achieve the following const routes = [{ path: '/dashboard/home', name: 'home', component: Home }, { path: '/dashboard/documents', name: 'documents', component: Documents }, { path: '/dashboard/Contributors', name: 'contributors', component: Contributors }, ];
As per the above route file, when someone access the dashboard url it is should open up the relevant vs-tab component and also show the vs-tabs on the page as well.