index.js 978 Bytes
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: '/jplayer-extension',
    name: 'jplayerExtension',
    component: () => import('../views/extension/index.vue')
  },
  /* {
    path: '/el-table-demo',
    name: 'ElTableDemo',
    component: () => import('../views/ElTableDemo.vue')
  }, */
]

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

export default router