Skip to content

A set of components to render Gutenberg Blocks with the WPNuxt module

Notifications You must be signed in to change notification settings

wpnuxt/wpnuxt-blocks

Repository files navigation

WPNuxt Blocks

npm version npm downloads License Nuxt

A set of components to render Gutenberg Blocks with the WPNuxt module

Allows to override each block component to be overriden by a custom component to have full control over how every Gutenberg Block is rendered in Nuxt.

Quick Setup

Install the module to your Nuxt application with one command:

npx nuxi module add @wpnuxt/blocks

That's it! You can now use WPNuxt Blocks in your Nuxt app ✨

Contribution

Local development
# Install dependencies
pnpm install

# Generate type stubs
pnpm run dev:prepare

# Develop with the playground
pnpm run dev

# Build the playground
pnpm run dev:build

# Run ESLint
pnpm run lint

# Run Vitest
pnpm run test
pnpm run test:watch

# Release new version
pnpm run release