Files
Rodrigo Hernando 63353bf7a2 Add Vue/Nuxt examples and extends the frameworks Skill
- Adds a Vue folder in the examples, with a Vue demo using the Composition API
- Adds a Nuxt folder in the examples, that includes a re-usable composable for importing and registering all the GSAP Plugins at a top level file and lazy-load plugins that are not extensively used in the app
- Modifies the SKILL.MD file in the gsap-frameworks folder to reflect the previous addition
2026-04-08 18:22:22 -04:00

9 lines
285 B
JavaScript

import { createApp } from "vue";
import { gsap } from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
import App from "./App.vue";
// Register all the GSAP Plugins you want only once at this top level file
gsap.registerPlugin(ScrollTrigger);
createApp(App).mount("#app");