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
@@ -82053,7 +82053,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
82053
82053
|
|
82054
82054
|
// EXPORTS
|
82055
82055
|
__webpack_require__.d(__webpack_exports__, {
|
82056
|
-
"default": function() { return /* binding */ entry_lib; }
|
82056
|
+
"default": function() { return /* binding */ entry_lib; },
|
82057
|
+
"install": function() { return /* reexport */ install; }
|
82057
82058
|
});
|
82058
82059
|
|
82059
82060
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
@@ -83486,12 +83487,8 @@ const components = [packages_zs_empty, packages_id_card_reader_demo, packages_sc
|
|
83486
83487
|
// 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,那么所有的组件都会被注册
|
83487
83488
|
const install = Vue => {
|
83488
83489
|
Vue.use((element_ui_common_default()));
|
83489
|
-
// 判断是否安装
|
83490
|
-
// if (install.installed) return
|
83491
83490
|
// 遍历注册全局组件
|
83492
83491
|
components.forEach(item => {
|
83493
|
-
// console.log(Object.keys(component));
|
83494
|
-
// Object.keys(component).forEach(key => console.log(key, component[key]))
|
83495
83492
|
const component = item['options'];
|
83496
83493
|
Vue.component(component.name, component);
|
83497
83494
|
});
|
@@ -83506,6 +83503,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
83506
83503
|
//具体的组件列表
|
83507
83504
|
...components
|
83508
83505
|
});
|
83506
|
+
|
83509
83507
|
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
83510
83508
|
|
83511
83509
|
|