pirony / ks-vue-scrollmagic

Vue plugin that makes using Scrollmagic with Vue a walk in the park
MIT License
45 stars 9 forks source link

Trouble implementing with vuejs webpack template #5

Open iondisc opened 6 years ago

iondisc commented 6 years ago

I'm using the basic webpack template from vue-cli and I cannot get access to $gsap. I'm attempting to access it from a component via this.$gsap and I get an error saying it is undefined.

[Updated] I can access this.$scrollmagic but not this.$gsap. I ended up having to import TimelineMax to use it.

Guirerume commented 5 years ago

I have the same problem here.

@pirony, could you take a look into this.