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