Add a new dashboard page.

This commit is contained in:
Jorge Gonzalez 2019-08-26 18:15:41 +02:00 committed by Ludovic Fernandez
parent 89150e1164
commit fd24b1898e
133 changed files with 17303 additions and 11112 deletions

View file

@ -0,0 +1,31 @@
const LayoutDefault = () => import('layouts/Default.vue')
const routes = [
{
path: '/',
component: LayoutDefault,
children: [
{
path: '',
name: 'dashboard',
component: () => import('pages/dashboard/Index.vue'),
meta: {
title: 'Dashboard'
}
}
]
}
]
// Always leave this as last one
if (process.env.MODE !== 'ssr') {
routes.push({
path: '*',
component: () => import('pages/_commons/Error404.vue'),
meta: {
title: '404'
}
})
}
export default routes