index.js
1.32 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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