You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
580 B
JavaScript

6 years ago
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vuex from 'vuex'
import moment from 'moment'
import axios from 'axios';
import QS from 'qs';
import './iview';
import './vcharts'
Vue.prototype.$axios = axios;
Vue.prototype.$qs = QS;
Vue.prototype.$moment = moment;
Vue.config.productionTip = false
Vue.prototype.$moment = moment;
// 需要汉化
moment.locale('zh-cn');
Vue.use(Vuex);
// Vue.use(ViewUI);
6 years ago
//实现了全局的事件总线对象
Vue.prototype.bus = new Vue();
6 years ago
new Vue({
render: h => h(App),
router,
}).$mount('#app')
6 years ago