I would like to use mermaid in my spring boot project.
https://mermaidjs.github.io/usage.html
The usage description tells me to use yarn add mermaid. Can anyone explain me, what exactly I have to configure in my spring boot / thymeleaf project in order to use this dependency in my frontend?
Thanks!
You should just download from or use the CDN (https://unpkg.com/mermaid@7.1.2/dist/mermaid.min.js) to get the required files using standard <link>
and <script>
tags. Yarn is a front end dependency manager and I presume you have not separated your front end from you Spring Boot application.