Skip to content

vuestorefront-community/nuxt-mermaid

Repository files navigation

@vue-storefront/nuxt-Mermaid

npm

Use Mermaid.js Diagrams in Nuxt 3

This Nuxt plugin provides a global component wrapping Mermaid.js. The plugin is designed to work with Nuxt v3.

Installation

You can install it with

yarn add -D @vue-storefront/nuxt-Mermaid

or

npm install --save-dev @vue-storefront/nuxt-Mermaid

Usage

The recommended usage is to place your mermaidjs diagrams inside a fenced code block with the language 'Mermaid':

```Mermaid
sequenceDiagram
Alice->John: Hello John, how are you?
loop every minute
    John-->Alice: Great!
end
```

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published