30 lines
597 B
JavaScript
30 lines
597 B
JavaScript
import 'amfe-flexible'
|
|
import Vue from 'vue'
|
|
import App from './App'
|
|
import router from './router'
|
|
import config from './config'
|
|
import http from './service/_'
|
|
import Video from '@c/Video'
|
|
Vue.component('v-video', Video)
|
|
|
|
//头部组件
|
|
import commTop from '@c/commTop'
|
|
Vue.component('top',commTop);
|
|
|
|
//评论组件
|
|
import Comment from '@c/Comment'
|
|
Vue.component('Comment',Comment);
|
|
|
|
config.VuePlugIn.forEach(v => Vue.use(v))
|
|
|
|
Vue.config.productionTip = false
|
|
Vue.prototype.$http = http
|
|
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
components: { App },
|
|
template: '<App/>'
|
|
})
|