import UserLayout from '../layouts/UserLayout';
import Login from '../pages/user/login';
import BasicLayout from '../layouts/BasicLayout';
import Welcome from '../pages/Welcome';
export default {
  routes: [
    {
      path: '/user',
      component: UserLayout,
      routes: [
        {
          name: 'login',
          path: '/user/login',
          component: Login,
        },
      ],
    },
    {
      path: '/',
      component: BasicLayout,
      routes: [
        {
          path: '/Welcome/1',
          name: '一级页面',
          component: Welcome,
        },
        {
          path: '/Welcome/2',
          name: '二级页面',
          component: Welcome,
        },
        {
          path: '/Welcome/3',
          name: '三级页面',
          component: Welcome,
        },
      ],
    },
  ],
};
