main.js 725 B

123456789101112131415161718192021222324252627
  1. import Vue from "vue";
  2. import App from "./App.vue";
  3. import router from "./router";
  4. Vue.config.productionTip = false;
  5. // 引入全局样式、字体
  6. import "@/styles/index.css"
  7. // 数据大屏相关组件 -- dataV
  8. import dataV from '@jiaminghi/data-view'
  9. Vue.use(dataV)
  10. // 3D 图表
  11. import highcharts from 'highcharts'
  12. import highcharts3d from 'highcharts/highcharts-3d'
  13. highcharts3d(highcharts)
  14. // 引入自定义js组件
  15. import jsComponent from "@/components/js/index"
  16. Vue.use(jsComponent)
  17. // 引入自定义js组件
  18. import domComponent from "@/components/dom/index"
  19. Vue.use(domComponent)
  20. // 导入阿里巴巴矢量图标库
  21. import "@/alibabaFont/font.css"
  22. new Vue({
  23. router,
  24. render: (h) => h(App),
  25. }).$mount("#app");