i use ,and i have this file ,but when i open the html , it tell me ReferenceError: mermaidAPI is not defined
this is my code
Please take this file as example for how to use mermaid in a static HTML page: https://github.com/knsv/mermaid/blob/master/dist/index.html
So the usage of mermaidAPI is deprecated? Everything should be done through regular mermaid,js file? After executing
yarn build:watch
mermaidAPI.js is not generated in dist folder
So the usage of mermaidAPI is deprecated? Everything should be done through regular mermaid,js file? After executing
yarn build:watch
mermaidAPI.js is not generated in dist folder
call
mermaid.mermaidAPI
Most helpful comment
call
mermaid.mermaidAPI