JSPM

  • Created
  • Published
  • Downloads 1014
  • Score
    100M100P100Q107308F
  • License MIT

Nuxt module providing local emulation of the Netlify environment

Package Exports

  • @netlify/nuxt

Readme

Netlify 🤝 Nuxt

npm version License Nuxt

@netlify/nuxt provides local emulation of the Netlify platform directly in nuxt dev

Features

This repackages all the same features as @netlify/vite-plugin. Check out its docs for details.

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxi module add @netlify/nuxt

That's it! You now have local emulation of the full Netlify platform automatically in your nuxt dev server:

npx nuxt dev

Contribution

Local development
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch