Create route for Reports
This commit is contained in:
parent
cd63ab1a10
commit
8ef35b4f9b
3 changed files with 14 additions and 1 deletions
|
@ -64,7 +64,8 @@ export default {
|
|||
clipboardDemo: 'Clipboard',
|
||||
i18n: 'I18n',
|
||||
externalLink: 'External Link',
|
||||
users: 'Users'
|
||||
users: 'Users',
|
||||
reports: 'Reports'
|
||||
},
|
||||
navbar: {
|
||||
logOut: 'Log Out',
|
||||
|
|
|
@ -64,5 +64,17 @@ export const asyncRouterMap = [
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/reports',
|
||||
component: Layout,
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/reports/index'),
|
||||
name: 'Reports',
|
||||
meta: { title: 'reports', icon: 'documentation', noCache: true }
|
||||
}
|
||||
]
|
||||
},
|
||||
{ path: '*', redirect: '/404', hidden: true }
|
||||
]
|
||||
|
|
0
src/views/reports/index.vue
Normal file
0
src/views/reports/index.vue
Normal file
Loading…
Reference in a new issue