mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-12-10 04:47:50 +00:00
增加路由和material图标
This commit is contained in:
19
src/route/AdminRoutes.js
Normal file
19
src/route/AdminRoutes.js
Normal 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')
|
||||
}]
|
||||
Reference in New Issue
Block a user