refactor: components, containers

This commit is contained in:
xidedix
2018-05-22 20:52:04 +02:00
parent fceb4bae4d
commit 636a845860
35 changed files with 207 additions and 1152 deletions
+4 -4
View File
@@ -2,7 +2,7 @@ import Vue from 'vue'
import Router from 'vue-router'
// Containers
import Full from '@/containers/Full'
import DefaultContainer from '@/containers/DefaultContainer'
// Views
import Dashboard from '@/views/Dashboard'
@@ -63,7 +63,7 @@ export default new Router({
path: '/',
redirect: '/dashboard',
name: 'Home',
component: Full,
component: DefaultContainer,
children: [
{
path: 'dashboard',
@@ -187,7 +187,7 @@ export default new Router({
},
{
path: 'buttons',
redirect: '/buttons/buttons',
redirect: '/buttons/standard-buttons',
name: 'Buttons',
component: {
render (c) { return c('router-view') }
@@ -195,7 +195,7 @@ export default new Router({
children: [
{
path: 'standard-buttons',
name: 'Buttons',
name: 'Standard Buttons',
component: StandardButtons
},
{