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.
You can install it with
yarn add -D @vue-storefront/nuxt-Mermaid
or
npm install --save-dev @vue-storefront/nuxt-Mermaid
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
```