pie diagram mermaid module import fix

This commit is contained in:
raghvendra
2023-04-19 11:25:32 +05:30
parent 6ccdc2bd01
commit ff3104ad9c

View File

@@ -38,7 +38,7 @@
</pre>
<script type="module">
import mermaid from '../packages/mermaid/src/mermaid';
import mermaid from './mermaid.esm.mjs';
mermaid.initialize({
theme: 'forest',
// themeCSS: '.node rect { fill: red; }',