frontend/src/routers/index.js
timerzz 0058b098ed
All checks were successful
Build image / build (push) Successful in 5m28s
feat 添加出货商
2024-08-27 16:56:52 +08:00

50 lines
1.1 KiB
JavaScript

import {createRouter, createWebHashHistory} from "vue-router";
const routes = [
{
path: '/',
redirect: '/watcher'
},
{
path: '/watcher',
name: 'watcher',
component: ()=>import('@/views/Watcher/index.vue')
},
{
path: '/us-coach',
name: 'us-coach',
component: ()=>import('@/views/Product/USCoachOutlet.vue')
},
{
path: '/cn-coach',
name: 'cn-coach',
component: ()=>import('@/views/Product/CNCoachOutlet.vue')
},
{
path: '/cn-coach-outlet',
name: 'cn-coach-outlet',
component: ()=>import('@/views/Product/CNCoachOutlet.vue')
},
{
path: '/pusher',
name: 'pusher',
component: ()=>import('@/views/Pusher/index.vue')
},
{
path: '/provider',
name: 'provider',
component: ()=>import('@/views/Provider/index.vue')
},
{
path: '/seller',
name: 'seller',
component: ()=>import('@/views/Seller/index.vue')
}
]
const router = createRouter({
history: createWebHashHistory(),
routes
})
export default router