xlsdg / vue-countup-v2

Vue.js component wrap for countUp.js
https://inorganik.github.io/countUp.js/
MIT License
380 stars 56 forks source link

"CountUp is not a constructor" error #12

Closed NSpehler closed 5 years ago

NSpehler commented 5 years ago

Hello there,

I'm getting the following error when using this package:

[Vue warn]: Error in mounted hook: "TypeError: CountUp is not a constructor"

found in

---> <ICountUp>
       <Home> at resources/js/views/Home.vue
         <App> at resources/js/views/App.vue
           <Root>

Any ideas what might cause this? I've copy-pasted the entire snippet from your exemple without luck.

Thanks, Nicolas

xlsdg commented 5 years ago

v3.0.1 fixed!