import type { RouteRecordRaw } from 'vue-router'
import goodThings_c from './goodThings/index.vue' // 静态导入组件
import smileSign_c from './smileSign/index.vue' // 静态导入组件

const routes: RouteRecordRaw = {
  name: 'positive',
  path: '/positive',
  meta: { title: '积极教育' },
  children: [
    {
      name: 'goodThings',
      path: 'goodThings',
      component: goodThings_c,
      meta: { title: '3件好事' },
    },
    {
      name: 'smileSign',
      path: 'smileSign',
      component: smileSign_c,
      meta: { title: '微笑打卡' },
    },
  ],
}

export default routes
