Blame view
api/dashboard/src/router/routes.js
861 Bytes
0d8c0f816 initial commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
function page (path) { return () => import(`~/pages/${path}`).then(m => m.default || m) } export default [ { path: '/', name: 'panel', redirect: '/dashboard', component: page('panel/index.vue'), children: [ { path: 'dashboard', name: 'panel.dashboard', component: page('panel/dashboard.vue') }, { path: 'components/mltd', name: 'panel.components.mltd', component: page('panel/components/mltd.vue') }, { path: 'components/od', name: 'panel.components.od', component: page('panel/components/od.vue') }, { path: 'components/ceptd', name: 'panel.components.ceptd', component: page('panel/components/ceptd.vue') } ] |
25df08e6c Merged changes fr... |
33 34 |
} // { path: '/login', name: 'login', component: page('login.vue') } |
0d8c0f816 initial commit |
35 |
] |