You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi:
I install mermaid library with npm install mermaid, the version I am using is 7.1.0. now I have an issue that looks the css is not imported correctly. Here is my code.
I don't think you can import {mermaidAPI} from 'mermaid' in a browser's <script> tag. You need to pre-compile your code with webpack or browserify before using it in browser.
Or you can use the pre-built version: <script src="https://unpkg.com/mermaid@8.0.0-alpha.6/dist/mermaid.min.js">
Since this is a general programming issue, I will close it now.
Hi:
I install mermaid library with npm install mermaid, the version I am using is 7.1.0. now I have an issue that looks the css is not imported correctly. Here is my code.
and here is the files I installed.
could anyone can help, thanks!
The text was updated successfully, but these errors were encountered: