![]() Us the created bundle on a web page as per example below: Minimalistic javascript: mermaid = require('mermaid') Ĭonsole.log('Test page! mermaid version'+mermaid.version()) The reader is assumed to know about CommonJS style of module handling and how to use browserify. yetAnotherClass")) This type of integration is deprecated instead the preferred way of handling more complex integration is to us the mermaidAPI instead. Or with no config object, and a jQuery selection: mermaid.init(undefined, $("#someId.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |