cartodb/lib/assets/javascripts/new-dashboard/main.js
2020-06-15 10:58:47 +08:00

39 lines
741 B
JavaScript

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';
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/>'
});