Getting Started

Installation

How to install and configure Nuxt Prerender Kit.

1. Install the package

pnpm add nuxt-prerender-kit

2. Add to Nuxt config

Add nuxt-prerender-kit to the modules section of your nuxt.config.ts:

nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-prerender-kit'],
})

That's it! usePrerenderData is auto-imported and ready to use.

3. Install the agent skill (optional)

The module ships with an agent skill that teaches AI coding assistants best practices for usePrerenderData.

Via skills-npm (recommended) — Auto-discovered when nuxt-prerender-kit is installed as an npm dependency. The skill stays in sync with the module version. No extra setup needed.

Via skills-cli — As a fallback:

npx skills add hyf0/nuxt-prerender-kit
Copyright © 2026