mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 06:20:07 +02:00
fix: module import in pie chart demo
This commit is contained in:
@@ -36,8 +36,8 @@
|
|||||||
"Iron" : 5
|
"Iron" : 5
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<script src="./mermaid.js"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import mermaid from '../packages/mermaid';
|
|
||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
theme: 'forest',
|
theme: 'forest',
|
||||||
// themeCSS: '.node rect { fill: red; }',
|
// themeCSS: '.node rect { fill: red; }',
|
||||||
|
Reference in New Issue
Block a user