You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
|
// 配置路由信息
|
|
const routes = [
|
|
{
|
|
path: '/',
|
|
name: 'index',
|
|
component: () => import('@/views/SoftHardware'),
|
|
},
|
|
{
|
|
path: '/softhard',
|
|
name: 'softhard',
|
|
component: () => import('@/views/SoftHardware'),
|
|
},
|
|
{
|
|
path: '/softhard1',
|
|
name: 'softhard1',
|
|
component: () => import('@/views/SoftHardware'),
|
|
},
|
|
{
|
|
path: '/softhard2',
|
|
name: 'softhard2',
|
|
component: () => import('@/views/SoftHardware'),
|
|
},
|
|
{
|
|
path: '/softhard3',
|
|
name: 'softhard3',
|
|
component: () => import('@/views/SoftHardware'),
|
|
},
|
|
{
|
|
path: '/softhard4',
|
|
name: 'softhard4',
|
|
component: () => import('@/views/SoftHardware'),
|
|
},
|
|
{
|
|
path: '/softdetail',
|
|
name: 'softdetail',
|
|
component: () => import('@/views/SoftDetail'),
|
|
},
|
|
{
|
|
path: '/softabout',
|
|
name: 'softabout',
|
|
component: () => import('@/views/About/SoftAbout'),
|
|
},
|
|
{
|
|
path: '/softrecruit',
|
|
name: 'softrecruit',
|
|
component: () => import('@/views/Recruit/SoftRecruit'),
|
|
},
|
|
]
|
|
|
|
const router = createRouter({
|
|
routes,
|
|
history: createWebHashHistory(),
|
|
})
|
|
|
|
export default router
|