Jump to content
Search Community

rmonell

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by rmonell

  1. Hello

     

    Today I encountered an issue while trying to use gsap/Draggable in a Nuxt project

     

    I've imported the plugin like so :

    import { gsap } from 'gsap'
    import { Draggable } from 'gsap/Draggable'
     
    gsap.registerPlugin(Draggable)

    But here is the error I get :
     
    image.thumb.png.c698ed468b8e89e569a899afb36a9cbb.png
     
    Could someone explain me if there are a particulary maniupulation to use gsap plugins in Nuxt ?
     
    Thank you in advance for your time !
  2. Hi everybody

     

    I recently learn how to implement a basic slider by using the Draggable plugin.

     

    But as you can see on this sandBox the drag effect work but has no transition.

    https://codesandbox.io/s/upbeat-browser-q8ox7?file=/index.html

     

    However I wrote the exact same code on code pen by importing the plugin via cdn and as you can see it works

     

    If anybody could help my to demistify this issue it would bu very cool !

    Thank you in advance !

    See the Pen BazWPPG by rmonell (@rmonell) on CodePen

×
×
  • Create New...