Initial commit: Audio Dashboard Management System
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import Layout from '@/layout/index.vue'
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
component: Layout,
|
||||
redirect: '/brand',
|
||||
children: [
|
||||
{
|
||||
path: '/brand',
|
||||
name: 'Brand',
|
||||
component: () => import('@/views/brand/index.vue'),
|
||||
meta: { title: '品牌管理', icon: 'collection' }
|
||||
},
|
||||
{
|
||||
path: '/model',
|
||||
name: 'Model',
|
||||
component: () => import('@/views/model/index.vue'),
|
||||
meta: { title: '型号管理', icon: 'list' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes
|
||||
})
|
||||
|
||||
export default router
|
||||
Reference in New Issue
Block a user