index.js
978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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