16 lines
476 B
TypeScript
16 lines
476 B
TypeScript
import { RouteRecordRaw } from 'vue-router';
|
|
|
|
export const productRouter: Array<RouteRecordRaw> = [
|
|
{
|
|
path: '/Products',
|
|
name: 'ProductList',
|
|
component: () => import('../views/ProductList/ProductList.jsx'),
|
|
meta: { title: '商品列表' }
|
|
},
|
|
{
|
|
path: '/ProductDetail',
|
|
name: 'ProductDetail',
|
|
component: () => import('../views/ProductDetail/ProductDetail.jsx'),
|
|
meta: { title: '商品详情' }
|
|
},
|
|
] |