main.js 707 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * @LastEditors: gcz
  3. */
  4. // The Vue build version to load with the `import` command
  5. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
  6. import Vue from "vue";
  7. import App from "./App";
  8. import router from "./router";
  9. import store from "./store";
  10. import dataV from "@jiaminghi/data-view";
  11. // 引入全局样式文件
  12. import "@/assets/scss/index.scss";
  13. import { Select, Option, Input } from 'element-ui';
  14. import 'element-ui/lib/theme-chalk/index.css';
  15. Vue.use(Select);
  16. Vue.use(Option);
  17. Vue.use(Input);
  18. Vue.use(dataV);
  19. Vue.config.productionTip = false;
  20. /* eslint-disable no-new */
  21. new Vue({
  22. el: "#app",
  23. router,
  24. store,
  25. components: { App },
  26. template: "<App/>"
  27. });