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;