vue-router?
{
path:"/"
children:[
{
{
path:"demo/foo"
component:foo
},
{
path:"demo/bar"
component:bar
}
}
]
}
can be written in the form above so that demo
does not correspond to any route exit, but you want to use a real hierarchical relationship.
how is it implemented?