| | |
| | | import { createWebHistory, createRouter } from 'vue-router' |
| | | /* Layout */ |
| | | import Layout from '@/layout' |
| | | import useAppStore from '@/store/modules/app' |
| | | |
| | | /** |
| | | * Note: 路由配置项 |
| | |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/social-callback', |
| | | component: () => import('@/layout/components/SocialCallback/index'), |
| | | hidden: true |
| | | }, |
| | | { |
| | | path: '/register', |
| | | component: () => import('@/views/register'), |
| | | hidden: true |
| | |
| | | path: '/index', |
| | | component: () => import('@/views/index'), |
| | | name: 'Index', |
| | | meta: { title: '首页', icon: 'dashboard', affix: true } |
| | | meta: { title: '首页', icon: 'dashboard', affix: true, showSidebar: true, breadcrumb: false } |
| | | } |
| | | ] |
| | | }, |