index.js 1.32 KB
import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  /* {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  },
  {
    path: '/player',
    name: 'player',
    component: () => import('../views/player')
  },
  {
    path: '/playerback',
    name: 'playerback',
    component: () => import('../views/player/playback.vue')
  }, */
  /* {
    path: '/jplayer-demo',
    name: 'jplayerDemo',
    component: () => import('../views/player/jPlayerDemo.vue')
  }, */
  {
    path: '/vion-player-demo',
    name: 'vionPlayerDemo',
    component: () => import('../views/player/vionPlayerDemo.vue')
  },
  {
    path: '/jplayer-extension',
    name: 'jplayerExtension',
    component: () => import('../views/extension/index.vue')
  },
  /* {
    path: '/el-table-demo',
    name: 'ElTableDemo',
    component: () => import('../views/ElTableDemo.vue')
  }, */
  {
    path: '/jplayer-web',
    name: 'jplayerWeb',
    component: () => import('../views/pc/index.vue')
  },
  {
    path: '/jplayer-web-demo',
    name: 'jplayerWebDemo',
    component: () => import('../views/pc/pcdemo.vue')
  }
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router