how can I directly access / render2 this route?
const routes = [{
path: "/",
redirect: "/index"
}, {
path: "/index",
component: Index,
meta: { keepAlive: true },
children: [{
path: "/preview",
component: PreView,
children: [{
path: "/render2",
component: render2
}]
}]
}, {
path: "/render2",
component: render2
}]
because
is configured`children: [{
] path: "/render2",
component: render2
}]`
visited / preview/render2 every time
how can I access both / preview/render2
and / render2 directly?