first commit
This commit is contained in:
commit
6adcb5b43d
258 files changed
+143145
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import Vue from 'vue';
|
||||
import Router from 'vue-router';
|
||||
import DashboardLayout from '../layout/starter/SampleLayout.vue';
|
||||
import Starter from '../layout/starter/SamplePage.vue';
|
||||
|
||||
Vue.use(Router);
|
||||
|
||||
export default new Router({
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'home',
|
||||
redirect: '/dashboard',
|
||||
component: DashboardLayout,
|
||||
children: [
|
||||
{
|
||||
path: 'dashboard',
|
||||
name: 'dashboard',
|
||||
components: { default: Starter }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
});
|
||||
Reference in new issue
Block a user