import Vue from 'vue' import VueRouter from 'vue-router' Vue.use(VueRouter) const routes = [ // { // path: '/video', // component: () => import( '../views/video/VideoItem.vue') // }, { // path: '/live', path: '/', component: () => import( '../views/live/LiveItem.vue') }, { path: '/ver-Live', component: () => import( '../views/live/VerticalLive.vue') }, { path: '/test', component: () => import( '../views/test/Test.vue') }, { path: '/feed', component: () => import( '../views/feed/FeedList.vue') }, { path: '/test-small', // path: '/', name: "测试小窗", component: () => import( '../views/test-small/TestSmall.vue') }, ] const router = new VueRouter({ mode: 'history', base: process.env.BASE_URL, routes }) export default router