dwqs / v2-table

A simple table component based Vue 2.x: https://dwqs.github.io/v2-table/
MIT License
100 stars 24 forks source link

TypeError: i.a is not a constructor #5

Closed kevinding0218 closed 6 years ago

kevinding0218 commented 6 years ago

Hello,

Your v2-table is really awesome! But I am getting an error while trying to use it in a single html page design, could you please provide me some suggestions? This is what I did:

Vue.use(V2Table); [Vue warn]: Error in nextTick: "TypeError: i.a is not a constructor"

found in

---> at src/components/table.vue

Best,
dwqs commented 6 years ago

which version of v2-table did you use? If the version >= 1.1.1,maybe it's because you are not require beautify-scrollbar, see here

kevinding0218 commented 6 years ago

Excellent Catch! My bad I did not noticed that, thank you very much for your help!

Best,