cartodb/lib/assets/javascripts/new-dashboard/main.js

36 lines
675 B
JavaScript
Raw Normal View History

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