增加路由和material图标

This commit is contained in:
Gary Fu
2023-12-24 15:42:48 +08:00
parent f4f25798b9
commit 9b777948c9
16 changed files with 242 additions and 45 deletions

19
src/route/AdminRoutes.js Normal file
View File

@@ -0,0 +1,19 @@
const BASE_PATH = '/admin'
export default [{
path: `${BASE_PATH}/users`,
name: 'Users',
component: () => import('@/views/admin/Users.vue')
}, {
path: `${BASE_PATH}/roles`,
name: 'Roles',
component: () => import('@/views/admin/Roles.vue')
}, {
path: `${BASE_PATH}/authority`,
name: 'Authority',
component: () => import('@/views/admin/Authority.vue')
}, {
path: `${BASE_PATH}/menus`,
name: 'Menus',
component: () => import('@/views/admin/Menus.vue')
}]