Skip to content

Commit a0546d6

Browse files
author
黄书伟
committed
all package auto install
1 parent 96e1cf7 commit a0546d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ const install = function (Vue, opts = {}) {
1313

1414
}
1515

16+
// auto install
17+
if (typeof window !== 'undefined' && window.Vue) {
18+
install(window.Vue);
19+
}
20+
1621
module.exports = {
1722
VPagination,
1823
VTable,

0 commit comments

Comments
 (0)