0.0.1 • Published 2 months ago
nuxt3-contentful v0.0.1
Nuxt 3 Contentful Module
This is a Nuxt module for easy integration to Contentful
Features
Quick Setup
- Add
nuxt3-contentful-module
dependency to your project
# Using npm
npm install --save-dev nuxt3-contentful-module
- Add
nuxt3-contentful
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt3-contentful'
]
})
That's it! You can now use Contentful in your Nuxt app ✨
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Add Contentful settings
CONTENTFUL_SPACE_ID=<YOUR SPACE ID>
CONTENTFUL_ACCESS_TOKEN=<YOUR ACCESS TOKEN>
# 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
0.0.1
2 months ago