From edfc9240929593f1a392ef08c96a2e0f900e601c Mon Sep 17 00:00:00 2001 From: harsima Date: Wed, 18 Apr 2018 20:21:57 +0800 Subject: [PATCH] release v1.2.0 --- package.json | 2 +- src/router/asyncRoute.js | 111 --------------------------------------- 2 files changed, 1 insertion(+), 112 deletions(-) delete mode 100644 src/router/asyncRoute.js diff --git a/package.json b/package.json index f5f972b..9995ab5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-backend", - "version": "1.1.0", + "version": "1.2.0", "description": "前后端分离VUE类模板项目工程", "author": "harsima", "private": true, diff --git a/src/router/asyncRoute.js b/src/router/asyncRoute.js deleted file mode 100644 index a1228eb..0000000 --- a/src/router/asyncRoute.js +++ /dev/null @@ -1,111 +0,0 @@ -const asyncLayout = [ - { - path: '/asyncLayout', - redirect: '/home', - component: () => import(/* webpackChunkName: 'index' */ '../page/layout'), - children: [] - } -] - -const asyncRoute = [ - { - path: '/components', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components') - }, - { - path: '/components/pageNotes', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/assist/pageNotes') - }, - { - path: '/components/permission', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/function/permission') - }, - { - path: '/components/pageTable', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/function/pageTable') - }, - { - path: '/components/pageSearch', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/ui/pageSearch') - }, - { - path: '/components/pageSection', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/ui/pageSection') - }, - { - path: '/components/pageTitle', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/ui/pageTitle') - }, - { - path: '/components/pageToolbar', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'components' */ '../page/components/ui/pageToolbar') - }, - { - path: '/example/table', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'example' */ '../page/example/table') - }, - { - path: '/example/charts', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'example' */ '../page/example/charts') - }, - { - path: '/example/map', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'example' */ '../page/example/map') - }, - { - path: '/i18n', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'i18n' */ '../page/i18n') - }, - { - path: '/theme', - meta:{ - permission:[] - }, - component: () => import(/* webpackChunkName: 'themeChange' */ '../page/themeChange') - } -] - -const redirectRoute = [ - { - path: '*', - redirect: '/error/404' - } -] - -export { asyncLayout, asyncRoute, redirectRoute} \ No newline at end of file