Components
<ppw-mermaid>
For mermaidjs image rendering.
Use the mermaid live editor to write content.
<ppw-mermaid>
For mermaidjs image rendering. Use the mermaid live editor to write content.
def prop
The def
prop is where your put the mermaid code :
examples
sequenceDiagram
flowchart
mindmap
journey
state
erDiagram
gantt
git
<vue-mermaid-string>
<vue-mermaid-string>
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
</vue-mermaid-string>
TODO
- use
mermaid
instead of ppw-mermaid to allow vs code preview (move prop to slot) - use as ```mermaid
flowchart TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]