Create route for Reports

This commit is contained in:
Angelina Filippova 2019-03-30 13:15:11 +07:00
parent cd63ab1a10
commit 8ef35b4f9b
3 changed files with 14 additions and 1 deletions

View file

@ -64,7 +64,8 @@ export default {
clipboardDemo: 'Clipboard',
i18n: 'I18n',
externalLink: 'External Link',
users: 'Users'
users: 'Users',
reports: 'Reports'
},
navbar: {
logOut: 'Log Out',

View file

@ -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 }
]

View file