@netlify/nuxt
provides local emulation of the Netlify platform directly in nuxt dev
This repackages all the same features as @netlify/vite-plugin
.
Check out its docs for details.
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
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