adjust the layout to the src directory

This commit is contained in:
Pan 2019-03-09 16:30:51 +08:00
commit 2ac4cee805
18 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ import Router from 'vue-router'
Vue.use(Router) Vue.use(Router)
/* Layout */ /* Layout */
import Layout from '@/views/layout/Layout' import Layout from '@/layout/Layout'
/* Router Modules */ /* Router Modules */
import componentsRouter from './modules/components' import componentsRouter from './modules/components'

View File

@ -1,6 +1,6 @@
/** When your routing table is too long, you can split it into small modules**/ /** When your routing table is too long, you can split it into small modules**/
import Layout from '@/views/layout/Layout' import Layout from '@/layout/Layout'
const chartsRouter = { const chartsRouter = {
path: '/charts', path: '/charts',

View File

@ -1,6 +1,6 @@
/** When your routing table is too long, you can split it into small modules**/ /** When your routing table is too long, you can split it into small modules**/
import Layout from '@/views/layout/Layout' import Layout from '@/layout/Layout'
const componentsRouter = { const componentsRouter = {
path: '/components', path: '/components',

View File

@ -1,6 +1,6 @@
/** When your routing table is too long, you can split it into small modules**/ /** When your routing table is too long, you can split it into small modules**/
import Layout from '@/views/layout/Layout' import Layout from '@/layout/Layout'
const nestedRouter = { const nestedRouter = {
path: '/nested', path: '/nested',

View File

@ -1,6 +1,6 @@
/** When your routing table is too long, you can split it into small modules**/ /** When your routing table is too long, you can split it into small modules**/
import Layout from '@/views/layout/Layout' import Layout from '@/layout/Layout'
const tableRouter = { const tableRouter = {
path: '/table', path: '/table',

View File

@ -1,6 +1,6 @@
/** When your routing table is too long, you can split it into small modules**/ /** When your routing table is too long, you can split it into small modules**/
import Layout from '@/views/layout/Layout' import Layout from '@/layout/Layout'
const treeTableRouter = { const treeTableRouter = {
path: '/tree-table', path: '/tree-table',