Answer the question
In order to leave comments, you need to log in
How does passing parameters to the start router work?
Hello!
For half an hour now I can not find information on this matter (I do not rule out that I googled badly).
In general, let's immediately throw off the code:
{
path:'/',
name:'Main',
children:[
{
path:'',
component:main
},
{
path:':login',
name:'User',
component:user,
props:true,
},
]
},
example.com/admin
Answer the question
In order to leave comments, you need to log in
{ path: "/", component:main },
{ path: "/:login", component:user }
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question