Getting Started

Installation

Quick Start

To get started, simply run:

npx nuxi@latest module add scripts@beta

!TIP Generate an Agent Skill for this package using skilld:

npx skilld add @nuxt/scripts

That's it. The Nuxt Scripts module should be downloaded and added to your Nuxt Config modules.

Next Steps

Need some inspiration to start using Nuxt Scripts? Try out the following:

  1. 🎉 Make it rain emojis with the Confetti Tutorial.
  2. 📚 Learn about how the Script Loading works.
  3. 🔍 Explore the Script Registry for popular pre-configured third-party scripts.
  4. 🚀 Load other scripts with useScript() or Global Scripts.
  5. 🔨 Fine-tune your performance and privacy with Bundling and Consent Management.