import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import http from './plugins/http';
import ElementUI from 'element-ui';
import './styles/index.css';
import * as echarts from 'echarts';
import JiangXi from './JiangXi.json';
import jmrhTheme from './jmrh.project.json';

echarts.registerMap('JangXi', JiangXi);
echarts.registerTheme('jmrh', jmrhTheme);

Vue.config.productionTip = false;
Vue.use(http);
Vue.prototype.$colors = {
    bg: '#041638',
    prim: '#3cbef2',
};
Vue.use(ElementUI);

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount('#app');
