29 lines
680 B
JavaScript
29 lines
680 B
JavaScript
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import store from './store'
|
|
|
|
Vue.config.productionTip = false
|
|
import ElementUI from 'element-ui';
|
|
import 'element-ui/lib/theme-chalk/index.css';
|
|
|
|
import "@/rem/rem.js"
|
|
|
|
import axios from "axios";
|
|
Vue.prototype.$axios = axios;
|
|
import api from "./api/index.js";
|
|
Vue.prototype.api = api;
|
|
import './assets/css/main.scss'
|
|
Vue.use(ElementUI);
|
|
import 'video.js/dist/video-js.css'; // 引入video.js的样式
|
|
import 'video.js';
|
|
import 'videojs-contrib-hls'; // 引入支持HLS的插件
|
|
new Vue({
|
|
router,
|
|
store,
|
|
render: h => h(App),
|
|
beforeCreate(){
|
|
Vue.prototype.$bus=this
|
|
},
|
|
}).$mount('#app')
|