Blazor.Diagrams icon indicating copy to clipboard operation
Blazor.Diagrams copied to clipboard

Documentation: Update documentation for README.md for Blazor using Dotnet 8

Open Trubador opened this issue 6 months ago • 0 comments

The most important thing to remember in any Blazor DotNet 8+ project is setting the <Routes @rendermode="InteractiveServer" />" in App.Razor - Otherwise the canvas will not be responsive at all - It will just render as a static page.

App.Razor

<body>
    <Routes @rendermode="InteractiveServer" />
    <script src="_framework/blazor.web.js"></script>
    <script src="_content/Z.Blazor.Diagrams/script.min.js"></script>
</body>

Trubador avatar Aug 18 '24 13:08 Trubador