unify-external-plugin-platform 0.0.2-21 → 0.0.2-22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/external-plugin.common.js +3 -5
- package/dist/external-plugin.common.js.map +1 -1
- package/dist/external-plugin.umd.js +3 -5
- package/dist/external-plugin.umd.js.map +1 -1
- package/dist/external-plugin.umd.min.js +1 -1
- package/dist/external-plugin.umd.min.js.map +1 -1
- package/package.json +2 -2
- package/vue.config.js +12 -12
@@ -82063,7 +82063,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
82063
82063
|
|
82064
82064
|
// EXPORTS
|
82065
82065
|
__webpack_require__.d(__webpack_exports__, {
|
82066
|
-
"default": function() { return /* binding */ entry_lib; }
|
82066
|
+
"default": function() { return /* binding */ entry_lib; },
|
82067
|
+
"install": function() { return /* reexport */ install; }
|
82067
82068
|
});
|
82068
82069
|
|
82069
82070
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
@@ -83496,12 +83497,8 @@ const components = [packages_zs_empty, packages_id_card_reader_demo, packages_sc
|
|
83496
83497
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
|
83497
83498
|
const install = Vue => {
|
83498
83499
|
Vue.use((element_ui_common_default()));
|
83499
|
-
// 判断是否安装
|
83500
|
-
// if (install.installed) return
|
83501
83500
|
// 遍历注册全局组件
|
83502
83501
|
components.forEach(item => {
|
83503
|
-
// console.log(Object.keys(component));
|
83504
|
-
// Object.keys(component).forEach(key => console.log(key, component[key]))
|
83505
83502
|
const component = item['options'];
|
83506
83503
|
Vue.component(component.name, component);
|
83507
83504
|
});
|
@@ -83516,6 +83513,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
83516
83513
|
//具体的组件列表
|
83517
83514
|
...components
|
83518
83515
|
});
|
83516
|
+
|
83519
83517
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
83520
83518
|
|
83521
83519
|
|