构建版本修改
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
* @param Vue 外部接入Vue
|
||||
* @param params showList:打印加载的应用;apps:加载的应用文件名数组
|
||||
*/
|
||||
import core from './core.import'
|
||||
import dvui from '../project/dvui/entries'
|
||||
|
||||
const install = function (Vue, params) {
|
||||
@@ -28,10 +27,6 @@ const install = function (Vue, params) {
|
||||
})
|
||||
!!params?.showList && console.log(apps.map(e => e.name))
|
||||
}
|
||||
core?.map(app => {
|
||||
apps.push(app.component)
|
||||
Vue.component(app.name, app.component)
|
||||
})
|
||||
Vue.use(dvui)
|
||||
return Promise.resolve(apps)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user