Jump to content
Search Community

Nexib

Members
  • Posts

    1
  • Joined

  • Last visited

Nexib's Achievements

0

Reputation

  1. It al has to do with what your (Angular) project is using or not. When simply importing specific imports from gsap the bundler includes only that specific objects & its dependencies. The plugin registration (in the way it is currently set up) and the initialisation of gsap is skipped. That can be simply changed: Import the plugins you need & the gsap object. For Angular somewhere in the top op your main.ts file. import { EaselPlugin, gsap } from "gsap/all"; gsap.registerPlugin(EaselPlugin);
×
×
  • Create New...