From 9010cbbf3f5428525e32c3a523f4a62f7fd9292b Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sun, 5 Apr 2020 03:31:45 +0300 Subject: [PATCH] Remove excess files --- src/router/modules/charts.js | 36 ---------- src/router/modules/nested.js | 66 ------------------- src/views/nested/menu1/index.vue | 7 -- src/views/nested/menu1/menu1-1/index.vue | 7 -- src/views/nested/menu1/menu1-2/index.vue | 7 -- .../nested/menu1/menu1-2/menu1-2-1/index.vue | 5 -- .../nested/menu1/menu1-2/menu1-2-2/index.vue | 5 -- src/views/nested/menu1/menu1-3/index.vue | 5 -- src/views/nested/menu2/index.vue | 5 -- 9 files changed, 143 deletions(-) delete mode 100644 src/router/modules/charts.js delete mode 100644 src/router/modules/nested.js delete mode 100644 src/views/nested/menu1/index.vue delete mode 100644 src/views/nested/menu1/menu1-1/index.vue delete mode 100644 src/views/nested/menu1/menu1-2/index.vue delete mode 100644 src/views/nested/menu1/menu1-2/menu1-2-1/index.vue delete mode 100644 src/views/nested/menu1/menu1-2/menu1-2-2/index.vue delete mode 100644 src/views/nested/menu1/menu1-3/index.vue delete mode 100644 src/views/nested/menu2/index.vue diff --git a/src/router/modules/charts.js b/src/router/modules/charts.js deleted file mode 100644 index d11f6efd..00000000 --- a/src/router/modules/charts.js +++ /dev/null @@ -1,36 +0,0 @@ -/** When your routing table is too long, you can split it into small modules**/ - -import Layout from '@/views/layout/Layout' - -const chartsRouter = { - path: '/charts', - component: Layout, - redirect: 'noredirect', - name: 'Charts', - meta: { - title: 'charts', - icon: 'chart' - }, - children: [ - { - path: 'keyboard', - component: () => import('@/views/charts/keyboard'), - name: 'KeyboardChart', - meta: { title: 'keyboardChart', noCache: true } - }, - { - path: 'line', - component: () => import('@/views/charts/line'), - name: 'LineChart', - meta: { title: 'lineChart', noCache: true } - }, - { - path: 'mixchart', - component: () => import('@/views/charts/mixChart'), - name: 'MixChart', - meta: { title: 'mixChart', noCache: true } - } - ] -} - -export default chartsRouter diff --git a/src/router/modules/nested.js b/src/router/modules/nested.js deleted file mode 100644 index ad8e31f9..00000000 --- a/src/router/modules/nested.js +++ /dev/null @@ -1,66 +0,0 @@ -/** When your routing table is too long, you can split it into small modules**/ - -import Layout from '@/views/layout/Layout' - -const nestedRouter = { - path: '/nested', - component: Layout, - redirect: '/nested/menu1/menu1-1', - name: 'Nested', - meta: { - title: 'nested', - icon: 'nested' - }, - children: [ - { - path: 'menu1', - component: () => import('@/views/nested/menu1/index'), // Parent router-view - name: 'Menu1', - meta: { title: 'menu1' }, - redirect: '/nested/menu1/menu1-1', - children: [ - { - path: 'menu1-1', - component: () => import('@/views/nested/menu1/menu1-1'), - name: 'Menu1-1', - meta: { title: 'menu1-1' } - }, - { - path: 'menu1-2', - component: () => import('@/views/nested/menu1/menu1-2'), - name: 'Menu1-2', - redirect: '/nested/menu1/menu1-2/menu1-2-1', - meta: { title: 'menu1-2' }, - children: [ - { - path: 'menu1-2-1', - component: () => import('@/views/nested/menu1/menu1-2/menu1-2-1'), - name: 'Menu1-2-1', - meta: { title: 'menu1-2-1' } - }, - { - path: 'menu1-2-2', - component: () => import('@/views/nested/menu1/menu1-2/menu1-2-2'), - name: 'Menu1-2-2', - meta: { title: 'menu1-2-2' } - } - ] - }, - { - path: 'menu1-3', - component: () => import('@/views/nested/menu1/menu1-3'), - name: 'Menu1-3', - meta: { title: 'menu1-3' } - } - ] - }, - { - path: 'menu2', - name: 'Menu2', - component: () => import('@/views/nested/menu2/index'), - meta: { title: 'menu2' } - } - ] -} - -export default nestedRouter diff --git a/src/views/nested/menu1/index.vue b/src/views/nested/menu1/index.vue deleted file mode 100644 index fdba73a4..00000000 --- a/src/views/nested/menu1/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/views/nested/menu1/menu1-1/index.vue b/src/views/nested/menu1/menu1-1/index.vue deleted file mode 100644 index 824b2cb6..00000000 --- a/src/views/nested/menu1/menu1-1/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/views/nested/menu1/menu1-2/index.vue b/src/views/nested/menu1/menu1-2/index.vue deleted file mode 100644 index 0c86276e..00000000 --- a/src/views/nested/menu1/menu1-2/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue b/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue deleted file mode 100644 index f87d88f4..00000000 --- a/src/views/nested/menu1/menu1-2/menu1-2-1/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue b/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue deleted file mode 100644 index d88789f2..00000000 --- a/src/views/nested/menu1/menu1-2/menu1-2-2/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/nested/menu1/menu1-3/index.vue b/src/views/nested/menu1/menu1-3/index.vue deleted file mode 100644 index f7cd0738..00000000 --- a/src/views/nested/menu1/menu1-3/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/src/views/nested/menu2/index.vue b/src/views/nested/menu2/index.vue deleted file mode 100644 index 19dd48f0..00000000 --- a/src/views/nested/menu2/index.vue +++ /dev/null @@ -1,5 +0,0 @@ -