产品库升级,不用再改加载路径了

This commit is contained in:
aixianling
2022-03-09 11:58:28 +08:00
parent 93b1a3a69d
commit 7940cffc3c
5 changed files with 19 additions and 36 deletions

View File

@@ -2,7 +2,6 @@ import Vue from 'vue';
import App from './App.vue';
import ui from 'element-ui';
import router from './router/router';
import apps from './entries';
import axios from './router/axios';
import utils from './utils';
import vcUI from 'dvcp-ui';
@@ -14,7 +13,6 @@ import dataV from '@jiaminghi/data-view';
Vue.use(dataV);
Vue.use(apps);
Vue.use(ui);
Vue.use(vcUI);
Vue.use(dvUI);
@@ -25,7 +23,7 @@ Vue.prototype.formatContent = (val) => val.replace(/(\r\n)|(\n)/g, '<br>');
Object.keys(utils).map((e) => (Vue.prototype[e] = utils[e]));
utils.$store.init(store);
new Vue({
router,
store,
render: (h) => h(App)
router,
store,
render: (h) => h(App)
}).$mount('#app');