0.2.1 • Published 6 months ago

nuxt-content-mermaid v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Mermaid module for Nuxt Content

npm version npm downloads License Nuxt

Mermaid module for @nuxt/content.

Quick Setup

  1. Add nuxt-content-mermaid dependency to your project
# Using pnpm
pnpm add -D nuxt-content-mermaid

# Using yarn
yarn add --dev nuxt-content-mermaid

# Using npm
npm install --save-dev nuxt-content-mermaid
  1. Add nuxt-content-mermaid to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ["nuxt-content-mermaid"],
});

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