/*
 * @Author: WangJiaCheng
 * @Date: 2021-08-20 14:24:33
 * @LastEditors: WangJiaCheng
 * @LastEditTime: 2021-08-20 15:38:09
 * @Description: 编辑器
 */
import DefaultLayout from '@/layouts/DefaultLayout/index.vue'

const editor = [
  {
    path: '/app',
    component: DefaultLayout,
    redirect: '/app/list',
    meta: {
      title: '应用编辑'
    },
    children: [
      {
        path: 'list',
        name: 'appList',
        meta: {
          title: '列表'
        },
        component: () => import('@/views/Template/List/index.vue')
      },
      {
        path: 'editor',
        name: 'appEditor',
        meta: {
          title: '列表'
        },
        component: () => import('@/views/app/editor/index.vue')
      }
    ]
  }
]

export default editor
