Answer the question
In order to leave comments, you need to log in
How to implement dynamic paths in Vuejs?
Hello!
in View it is possible to implement here such dynamic ways?
For example:
{
path: '/',
component: () => import('layouts/MyLayout.vue'),
children: [
{ path: '', component: () => import('pages/Index.vue') },
{ path: '/about', component: () => import('pages/About.vue') },
{
path: '/[path]',
component: () => import('pages/[path]/Index.vue'),
children: [
{ path: '/[view]', component: () => import('pages/[path]/[view].vue') },
{ path: '/[view]/:id', component: () => import('pages/[path]/[view].vue') },
]
},
]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question