We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7de5c commit 5691980Copy full SHA for 5691980
index.js
@@ -8,8 +8,11 @@
8
} else {
9
root[moduleName] = factory(root['Vue'])
10
}
11
-})(this, 'VirutalScrollList', function (Vue2) {
12
- 'use strict'
+})(this, 'VirutalScrollList', function (Vue2) { 'use strict'
+
13
+ if (typeof Vue2 === 'object' && typeof Vue2.default === 'function') {
14
+ Vue2 = Vue2.default
15
+ }
16
17
return Vue2.component('vue-virtual-scroll-list', {
18
props: {
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vue-virtual-scroll-list",
3
- "version": "1.0.7",
+ "version": "1.0.8",
4
"description": "A vue (2.x) component support big data and infinite loading by using virtual scroll list.",
5
"main": "index.js",
6
"files": [
0 commit comments