main.ts 451 B

12345678910111213141516171819202122
  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. Vue.config.productionTip = false;
  8. Vue.use(ElementUI);
  9. import common from '@/common/Common';
  10. Vue.prototype.$common = common;
  11. import axios from 'axios';
  12. Vue.prototype.$axios = axios;
  13. new Vue({
  14. router,
  15. store,
  16. render: h => h(App)
  17. }).$mount("#app");