Files
huangguo_dhz/src/router/pcRouter.ts
T
2026-10-09 17:39:35 +07:00

52 lines
1012 B
TypeScript

import { RouteRecordRaw } from 'vue-router';
import Home from '@/views/pc/home/index.vue'
import Contact from '@/views/pc/contact/index.vue'
import Privacy from '@/views/pc/privacy/index.vue'
import PublishingAddress from '@/views/pc/publishingAddress/index.vue'
import Business from '@/views/pc/business/index.vue'
// pc端路由
const pcRouter: RouteRecordRaw[] = [
{
path: '/home',
name: 'home',
component: Home,
meta: {
title: "首页"
},
},
{
path: '/contact',
name: 'contact',
component: Contact,
meta: {
title: "联系"
},
},
{
path: '/business',
name: 'business',
component: Business,
meta: {
title: "联系"
},
},
{
path: '/privacy',
name: 'privacy',
component: Privacy,
meta: {
title: "隐私"
},
},
{
path: '/publishingAddress',
name: 'publishingAddress',
component: PublishingAddress,
meta: {
title: "发布地址"
},
},
];
export default pcRouter;