0.1.4 • Published 24 days ago

vue-mermaid-render v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
24 days ago

vue-mermaid-render

npm downloads

Vue 3 component to render diagrams with Mermaid.

Install

$ npm install vue-mermaid-render

Use

<script setup lang="ts">
import { VueMermaidRender } from 'vue-mermaid-render'

const content = `
graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;
`
</script>

<template>
  <VueMermaidRender :content="content" />
</template>

Props

  • content: string diagram content string
  • config: MermaidConfig mermaid config

Related

mermaid

0.1.4

24 days ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.0

10 months ago

0.1.1

10 months ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago