Files
udf/admin/src/main.js
T
2020-05-23 21:37:45 +08:00

26 lines
631 B
JavaScript

// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import App from './App'
import router from './router/index'
import "babel-polyfill";
import './assets/scss/glob.scss';
import glob from './assets/js/glob.js';
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
//use
Vue.config.productionTip = false;
//EventBus
Vue.prototype.$EventBus = new Vue();
//mavonEditor
Vue.use(mavonEditor);
//init
glob.inti();
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
components: {App},
template: '<App/>'
})