/* routes-list */ // const APP_NAME = process.env.VUE_APP_NAME; // import Vue from 'vue' // const sharePool = (Vue.__share_pool__ = Vue.__share_pool__ || {}) // const store = (sharePool.store = sharePool.store || {}) const App = () => import('./App.vue') export default [ { path: '/docCenter', name: 'docCenter', component: () => import('@/views/doc/center'), meta: { title: '文档中心', alive: true } }, { path: '/doc', component: App, name: 'doc', meta: { title: '文档中心', icon: 'xitong' }, redirect: '/doc/add', children: [ { hidden: true, path: 'add', name: 'docAdd', component: () => import('@/views/doc/add'), meta: { title: '新建文档', alive: false } }, { hidden: true, path: 'edit', name: 'docEdit', component: () => import('@/views/doc/edit'), meta: { title: '编辑文档' } } ] } ]