Jump to content

Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

pguardiario's Achievements

  1. Thanks for that, the codesandbox code works but it breaks as soon as I add ScrollTrigger. It works in codesandbox and breaks locally. I think I'm going to give up on Svelte.
  2. I'm confused about how to import ScrollTrigger into my svelte app. I tried: <script> import gsap from 'gsap'; import { ScrollTrigger } from 'gsap/ScrollTrigger'; And I'm seeing: 500 Cannot use import statement outside a module C:\User\node\gsap\node_modules\gsap\ScrollTrigger.js:12 import { Observer, _getTarget, _vertical, _horizontal, _scrollers, _proxies, _getScrollFunc, _getProxyProp, _getVelocityProp } from "./Observer.js"; Thanks for advice