|
@ -7,6 +7,7 @@ const HardwareCase = () => import('@/pages/HardwareCase') |
|
|
const Company = () => import('@/pages/Company') |
|
|
const Company = () => import('@/pages/Company') |
|
|
const CaseShow = () => import('@/pages/CaseShow') |
|
|
const CaseShow = () => import('@/pages/CaseShow') |
|
|
const Product = () => import('@/pages/Product') |
|
|
const Product = () => import('@/pages/Product') |
|
|
|
|
|
const Hardware = () => import('@/pages/Hardware') |
|
|
|
|
|
|
|
|
// 配置路由信息
|
|
|
// 配置路由信息
|
|
|
const routes = [ |
|
|
const routes = [ |
|
@ -18,6 +19,7 @@ const routes = [ |
|
|
{ path: '/company', component: Company }, |
|
|
{ path: '/company', component: Company }, |
|
|
{ path: '/case-show', component: CaseShow }, |
|
|
{ path: '/case-show', component: CaseShow }, |
|
|
{ path: '/product', component: Product }, |
|
|
{ path: '/product', component: Product }, |
|
|
|
|
|
{ path: '/hardware', component: Hardware }, |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
const router = createRouter({ |
|
|
const router = createRouter({ |
|
|