Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const router = new Router({
- base: '/v/',
- mode: 'history',
- routes: routes
- });
- const routers = [
- ...
- {
- path: '/wholesale-catalogue/',
- name: 'wholesale-catalogue',
- component: () => import('./views/WholesaleCatalogue.vue')
- }
- ...
- ]
- const router = new Router({
- mode: 'history',
- routes: [
- { path: 'v', component: BaseView, children: routers }
- ]
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement