Open johankson opened 2 years ago
You're not missing anything. It was just poor planning on my part. 😬
The MermaidJS.Blazor project relies on libman to manage the static assets at design time. In hindsight, I should have added this as a pre-build step in the project, but what you'll need to do for now is:
Ensure libman is installed:
dotnet tool install -g Microsoft.Web.LibraryManager.Cli
Run libman restore from the src/MermaidJS.Blazor
directory to pull down the library:
libman restore
Seems like libman is x86/x64 only. I'm using a M1 mac (arm64). Couldn't npm be used (and then copy the assets from the node_modules folder? to make it work for all platforms?
Hi!
I'm a Blazor newbie so forgive me if I'm missing something obvious. I forked the repo and checked out the demo. I had to copy the /lib/ folder from the nuget package to get it to work in order to get a hold of the
mermaid.min.js
file.Doing so made it work, but I got two diagrams rendered.
Am I missing something here?