nuxt-content-mermaid
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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

Package Sidebar

Install

npm i nuxt-content-mermaid

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

12.7 kB

Total Files

17

Last publish

Collaborators

  • kool_it