+1
-1
| { | ||
| "name": "elsass", | ||
| "version": "0.1.18", | ||
| "version": "0.1.19", | ||
| "description": "A high-quality UI component library based on Vue.js", | ||
@@ -5,0 +5,0 @@ "main": "./src/main.js", |
+12
-2
@@ -69,3 +69,8 @@ import Vue from 'vue' | ||
| components.forEach(component => { | ||
| iVue.component(component.name, component); | ||
| // 这里需要处理异步导入的组件(通过import引入的) | ||
| if (!component.name && component.install) { | ||
| component.install(Vue) | ||
| } else { | ||
| Vue.component(component.name, component) | ||
| } | ||
| }) | ||
@@ -75,3 +80,8 @@ | ||
| speComponents.forEach(component => { | ||
| iVue.component(component.name, component); | ||
| // 这里需要处理异步导入的组件(通过import引入的) | ||
| if (!component.name && component.install) { | ||
| component.install(Vue) | ||
| } else { | ||
| Vue.component(component.name, component) | ||
| } | ||
| }) | ||
@@ -78,0 +88,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
2341
0.43%1131154
-9.27%113
-0.88%