From 7f8b61e6e9be0c187e46aaa28253514b0f0a4b78 Mon Sep 17 00:00:00 2001 From: Rodrigo Hernando Date: Fri, 10 Apr 2026 14:18:08 -0400 Subject: [PATCH] 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 --- examples/README.md | 4 ++-- .../app/composables/{useGSAP.client.ts => useGSAP.ts} | 0 examples/nuxt/app/pages/index.vue | 1 - skills/gsap-frameworks/SKILL.md | 9 +++------ 4 files changed, 5 insertions(+), 9 deletions(-) rename examples/nuxt/app/composables/{useGSAP.client.ts => useGSAP.ts} (100%) diff --git a/examples/README.md b/examples/README.md index 4d565dc..1e611fb 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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. diff --git a/examples/nuxt/app/composables/useGSAP.client.ts b/examples/nuxt/app/composables/useGSAP.ts similarity index 100% rename from examples/nuxt/app/composables/useGSAP.client.ts rename to examples/nuxt/app/composables/useGSAP.ts diff --git a/examples/nuxt/app/pages/index.vue b/examples/nuxt/app/pages/index.vue index 2b4e5e4..956404a 100644 --- a/examples/nuxt/app/pages/index.vue +++ b/examples/nuxt/app/pages/index.vue @@ -1,6 +1,5 @@