routes.js 656 Bytes
/* routes-list */

// const APP_NAME = process.env.VUE_APP_NAME;

const App = () => import('./App.vue')

export default [
  {
    path: '/prop',
    component: App,
    name: 'prop',
    redirect: '/prop/model',
    meta: { title: 'ES模型', auth: true, icon: 'shitimoxing' },
    children: [
      {
        path: 'model',
        name: 'propModel',
        component: () => import('@/views/prop/model'),
        meta: { title: '搜索引擎' }
      },
      {
        path: 'property',
        name: 'property',
        hidden: true,
        component: () => import('@/views/prop/property'),
        meta: { title: '属性配置' }
      }
    ]
  }
]