1234567891011121314151617 |
- import {app} from "./init";
- import ElementPlus from 'element-plus'
- import 'element-plus/dist/index.css'
- import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
- import '@arcgis/core/assets/esri/themes/dark/main.css'
- import router from "./router/index.js";
- import './assets/global.scss'
- import esriConfig from '@arcgis/core/config.js'
- //esriConfig.assetsPath = '/public/assets';
- esriConfig.assetsPath = '/map-tool-widget/assets';
- import mitt from 'mitt'
- app.use(ElementPlus, {
- locale: zhCn,
- })
- app.use(router).mount('#app')
- const bus = mitt();
- app.config.globalProperties.$bus = bus;
|