diff --git a/src/layout/Layout.vue b/src/layout/index.vue similarity index 100% rename from src/layout/Layout.vue rename to src/layout/index.vue diff --git a/src/router/index.js b/src/router/index.js index a861067a..a883d398 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,7 +4,7 @@ import Router from 'vue-router' Vue.use(Router) /* Layout */ -import Layout from '@/layout/Layout' +import Layout from '@/layout' /* Router Modules */ import componentsRouter from './modules/components' diff --git a/src/router/modules/charts.js b/src/router/modules/charts.js index bc6cdf53..7293490e 100644 --- a/src/router/modules/charts.js +++ b/src/router/modules/charts.js @@ -1,6 +1,6 @@ /** When your routing table is too long, you can split it into small modules**/ -import Layout from '@/layout/Layout' +import Layout from '@/layout' const chartsRouter = { path: '/charts', diff --git a/src/router/modules/components.js b/src/router/modules/components.js index b1fba4fa..889c371d 100644 --- a/src/router/modules/components.js +++ b/src/router/modules/components.js @@ -1,6 +1,6 @@ /** When your routing table is too long, you can split it into small modules**/ -import Layout from '@/layout/Layout' +import Layout from '@/layout' const componentsRouter = { path: '/components', diff --git a/src/router/modules/nested.js b/src/router/modules/nested.js index f54a8e16..ee165c8c 100644 --- a/src/router/modules/nested.js +++ b/src/router/modules/nested.js @@ -1,6 +1,6 @@ /** When your routing table is too long, you can split it into small modules**/ -import Layout from '@/layout/Layout' +import Layout from '@/layout' const nestedRouter = { path: '/nested', diff --git a/src/router/modules/table.js b/src/router/modules/table.js index 11fdbbc9..b54fb42d 100644 --- a/src/router/modules/table.js +++ b/src/router/modules/table.js @@ -1,6 +1,6 @@ /** When your routing table is too long, you can split it into small modules**/ -import Layout from '@/layout/Layout' +import Layout from '@/layout' const tableRouter = { path: '/table',