@star-ai/star-ui 0.1.9 → 0.1.10
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/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -4,7 +4,7 @@ const components = []
|
|
|
4
4
|
|
|
5
5
|
const install = function(Vue, opts = {}) {
|
|
6
6
|
components.forEach(component => {
|
|
7
|
-
Vue.
|
|
7
|
+
Vue.use(component)
|
|
8
8
|
})
|
|
9
9
|
|
|
10
10
|
// 挂载全局方法
|
|
@@ -20,7 +20,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export default {
|
|
23
|
-
version: '0.1.
|
|
23
|
+
version: '0.1.10',
|
|
24
24
|
install,
|
|
25
25
|
// 按需导出所有组件
|
|
26
26
|
StarButton: require('./components/StarButton').default,
|