main.js 637 B

1234567891011121314151617181920212223242526272829
  1. import Vue from 'vue'
  2. import App from './App.vue'
  3. import router from './router'
  4. import store from './store'
  5. import ElementUI from 'element-ui';
  6. import 'element-ui/lib/theme-chalk/index.css';
  7. import 'font-awesome/css/font-awesome.css'
  8. import api from './api';
  9. import echarts from 'echarts';
  10. import 'echarts/theme/dark.js'
  11. import BaiduMap from 'vue-baidu-map'
  12. Vue.use(BaiduMap, {
  13. ak: '1hqg34NFaCw9jcv0xG82cI7uINFaXGGM'
  14. })
  15. Vue.use(ElementUI);
  16. Vue.prototype.$echarts = echarts
  17. Vue.prototype.$api = api;
  18. Vue.prototype.store = store;
  19. Vue.config.productionTip = false
  20. new Vue({
  21. router,
  22. store,
  23. render: h => h(App)
  24. }).$mount('#app')