Getting Started
Installation
Quick Start
Nuxt Scripts 1.x requires Nuxt 3.16 or newer.
Run:
npx nuxi@latest module add scripts
!TIP Generate an Agent Skill for this package using skilld:
npx skilld add @nuxt/scripts
The Nuxt module command installs Nuxt Scripts and adds it to the modules array in your Nuxt config.
Next Steps
From here, choose the guide closest to what you need:
- Build a small integration with the Confetti Tutorial.
- Learn when scripts load in Script Triggers.
- Check the Script Registry for a preconfigured integration.
- Load an unlisted script with
useScript()or Global Scripts. - Configure First-Party Mode or Consent Management.
On this page