Newer
Older
XinYang_SanWei+RongYun / src / main.js
@Zhangqy Zhangqy on 20 Dec 2021 750 bytes 111
// 入口文件,全局方法
import Vue from "vue";
import App from "./App";
import store from "./store";
import $ from "jquery";

// 配置文件 修改配置请移步 config/configuration
import router from "@/config/configuration";
// import cesium from "../static/Cesium/Cesium.js"; // 引入插件
// Vue.prototype.cesium = cesium;

// 引入接口归类
import "./util/interface";
import nozzle from "./util/interface";
// 引入axios
import {
  http
} from "./api/index";
import * as echarts from "echarts";

Vue.prototype.$echarts = echarts;
Vue.prototype.nozzle = nozzle;
Vue.prototype.$http = http;

Vue.config.productionTip = false;

/* vue初始化 */
new Vue({
  el: "#app",
  router,
  store,
  render: h => h(App)
}).$mount("#app");