liweilong
2020-10-30 2a61f64ebeeec3fff23b7adbce8c7fbfc54add51
提交 | 用户 | age
2a61f6 1 // 路由配置文件
L 2 import Layout from '@/layout'
3
4 export default {
5   path: '/demo',
6   component: Layout,
7   redirect: '/demo/index',
8   name: 'demo',
9   meta: {
10     title: '模板',
11     icon: 'coupon'
12   },
13   children: [
14     {
15       path: 'index',
16       component: () => import('@/pages/demo/index'), // Parent router-view
17       name: 'demoIndex',
18       meta: { title: '模板列表' }
19     }
20   ]
21 }
22