You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
843 B
33 lines
843 B
// @ts-ignore
|
|
import Vue from 'vue';
|
|
import './plugins/axios';
|
|
import App from './App.vue';
|
|
import './registerServiceWorker';
|
|
import router from './router';
|
|
import store from './store';
|
|
import './plugins/ant-design-vue.js';
|
|
import 'common/portrait.styl';
|
|
import 'common/platform.styl';
|
|
import './assets/icon/iconfont.css';
|
|
import VueDOMPurifyHTML from 'vue-dompurify-html';
|
|
import moment from 'moment'; //导入文件
|
|
import echarts from 'echarts';
|
|
import BaiduMap from 'vue-baidu-map';
|
|
|
|
Vue.prototype.$moment = moment; //赋值使用
|
|
Vue.prototype.$echarts = echarts;
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
Vue.use(VueDOMPurifyHTML);
|
|
|
|
Vue.use(BaiduMap, {
|
|
/* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
|
|
ak: 'YOUR_APP_KEY',
|
|
});
|
|
|
|
window.vm = new Vue({
|
|
router,
|
|
store,
|
|
render: h => h(App),
|
|
}).$mount('#app');
|
|
|