2020-06-15 10:58:47 +08:00
|
|
|
import Vue from 'vue';
|
|
|
|
import VueModal from 'vue-js-modal';
|
|
|
|
|
|
|
|
import i18n from './i18n';
|
|
|
|
import store from './store';
|
|
|
|
import router from './router';
|
|
|
|
import './directives';
|
|
|
|
import './core/trackers';
|
|
|
|
|
|
|
|
import App from './App';
|
|
|
|
|
|
|
|
// Backbone Setup
|
|
|
|
import 'dashboard/data/backbone/sync-options';
|
|
|
|
import './plugins/backbone/backbone-core-models';
|
|
|
|
|
|
|
|
import './plugins/interceptor';
|
|
|
|
|
|
|
|
import videojs from 'video.js';
|
|
|
|
|
|
|
|
import 'video.js/dist/video-js.css';
|
|
|
|
import 'video.js/dist/lang/zh-CN';
|
|
|
|
|
|
|
|
import 'videojs-contrib-hls';
|
|
|
|
|
2020-06-15 23:49:59 +08:00
|
|
|
Vue.prototype.$videojs = videojs;
|
2020-06-15 10:58:47 +08:00
|
|
|
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
|
|
|
Vue.use(VueModal, { dynamic: true, injectModalsContainer: true });
|
|
|
|
|
|
|
|
/* eslint-disable no-new */
|
|
|
|
new Vue({
|
|
|
|
el: '#app',
|
|
|
|
router,
|
|
|
|
store,
|
|
|
|
i18n,
|
|
|
|
components: { App },
|
|
|
|
template: '<App/>'
|
|
|
|
});
|