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