Nested route with named router view is not loaded. Upon clicking the links shown in navigation drawer, corresponding content needs to be shown in v-content component. For this I've used named router views.
Below shown is the routes array.
routes: [
{
path: "",
redirect: { name: "home" }
},
{
path: "/home",
component: Home,
name: "home",
children: [
{
path: "",
redirect: { name: "showDashItems" }
},
{
path: "dash",
name: "showDashItems",
components: {
nav_drawer: Nav
},
children: [
{
path: "page1",
name: "DashPage1",
components: {
content_window: Page1
}
},
{
path: "page2",
name: "DashPage2",
components: {
content_window: Page2
}
},
{
path: "page3",
name: "DashPage3",
components: {
content_window: Page3
}
}
]
}
]
}
]
Here is the codepen showing the same issue. https://codepen.io/satishvarada/pen/WNvMpdq