layout changes, status bar addition, drawer, and leaflet store
This commit is contained in:
@@ -5,8 +5,23 @@ const routes: RouteRecordRaw[] = [
|
||||
path: '/',
|
||||
component: () => import('layouts/MainLayout.vue'),
|
||||
children: [
|
||||
{ path: '', component: () => import('pages/IndexPage.vue') },
|
||||
{ path: 'test', component: () => import('pages/TestPage.vue') },
|
||||
{
|
||||
path: '',
|
||||
name: 'home',
|
||||
redirect: {
|
||||
name: 'Leaflet',
|
||||
},
|
||||
},
|
||||
{
|
||||
path: 'leaflet',
|
||||
name: 'Leaflet',
|
||||
component: () => import('pages/IndexPage.vue'),
|
||||
},
|
||||
{
|
||||
path: 'test',
|
||||
name: 'Test',
|
||||
component: () => import('pages/TestPage.vue')
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -14,6 +29,7 @@ const routes: RouteRecordRaw[] = [
|
||||
// but you can also remove it
|
||||
{
|
||||
path: '/:catchAll(.*)*',
|
||||
name: 'ErrorNotFound',
|
||||
component: () => import('pages/ErrorNotFound.vue'),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user