@vernaillen/wpnuxt
TypeScript icon, indicating that this package has built-in type declarations

0.3.11 • Public • Published

This module is still being developed and not ready for production usage yet. There will be many smaller alpha releases the coming weeks, often with breaking changes.

I am working towards a stable release. And will inform about it here

WPNuxt

npm version npm downloads License Nuxt

Nuxt module for using WordPress as a headless CMS with a Nuxt 3 frontend

Features

Quick Setup

  1. Add @vernaillen/wpnuxt dependency to your project
# Using pnpm
pnpm add -D @vernaillen/wpnuxt

# Using yarn
yarn add --dev @vernaillen/wpnuxt

# Using npm
npm install --save-dev @vernaillen/wpnuxt
  1. Add '@vernaillen/wpnuxt' to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@vernaillen/wpnuxt'
  ]
})

That's it! You can now use the WPNuxt 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

Readme

Keywords

none

Package Sidebar

Install

npm i @vernaillen/wpnuxt

Weekly Downloads

100

Version

0.3.11

License

MIT

Unpacked Size

57.2 kB

Total Files

92

Last publish

Collaborators

  • vernaillen