Nuxt demo update

- Updates the demo for Nuxt, no need to import the composable and use the client suffix in the file name
- Updates the README.MD file in the examples folder
- Updates the SKILL.md file in the frameworks folder
This commit is contained in:
Rodrigo Hernando committed 2026-04-10 14:18:08 -04:00
1 parent 63353bf7a2
commit 7f8b61e6e9
4 files changed
+5 -9

No files matched your search

+2 -2
View File
@@ -24,6 +24,6 @@ These examples are intended as reference implementations for AI agents and for q
## Nuxt
- **examples/nuxt/** — Nuxt 4 with GSAP client-only re-usable composable.
- **examples/nuxt/** — Nuxt 4 with GSAP re-usable composable.
- From repo root: `cd examples/nuxt && npm install && npm run dev`.
- Patterns: GSAP as client-only composable (`useGSAP.client.ts`), for gsap access, lazy-loading plugins, `gsap.context(() => {}, scope)` cleanup.
- Patterns: GSAP as reusable composable (`useGSAP.ts`), for gsap access, lazy-loading plugins, `gsap.context(() => {}, scope)` cleanup.
-1
View File
@@ -1,6 +1,5 @@
<script setup>
import { onMounted, onUnmounted } from "vue";
import useGSAP from "./composables/useGSAP.client";
const { gsap, ScrollTrigger, lazyLoadPlugin } = useGSAP();