import Vue from 'vue';
|
import App from './App.vue';
|
import router from './router';
|
import store from './store';
|
import './assets/css/global.css';
|
import i18n from './assets/lang/index';
|
import axios from './http';
|
import ElementUI from 'element-ui';
|
import locale from 'element-ui/lib/locale/lang/en';
|
import WKT from 'terraformer-wkt-parser';
|
// import locale from 'element-ui/lib/locale/lang/zh-CN'
|
import 'element-ui/lib/theme-chalk/index.css';
|
Vue.prototype.$echarts = echarts;
|
import * as echarts from 'echarts';
|
Vue.use(ElementUI, { locale });
|
Vue.prototype.$http = axios;
|
Vue.prototype.$bus = new Vue();
|
Vue.prototype.$wkt = WKT;
|
Vue.config.productionTip = false;
|
|
new Vue({
|
router,
|
i18n,
|
store,
|
|
render: (h) => h(App),
|
}).$mount('#app');
|