Nuxt P5 Module
Nuxt module for easiliy using p5.js in your Nuxt app.
Features
⛰ Foo🚠 Bar🌲 Baz
Quick Setup
- Add
nuxt-p5
dependency to your project
# Using pnpm
pnpm add -D nuxt-p5
# Using yarn
yarn add --dev nuxt-p5
# Using npm
npm install --save-dev nuxt-p5
- Add
nuxt-p5
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-p5'
]
})
That's it! You can now use the Nuxt P5 Module in your Nuxt app
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
# Release new version
npm run release