BlazorExtensions / Canvas

HTML5 Canvas API implementation for Microsoft Blazor
MIT License
614 stars 146 forks source link

Code won't compile following along the readme file #52

Open JvSSD opened 4 years ago

JvSSD commented 4 years ago

When following along going through the readme, at first I couldn't get the code to compile. Going through the source code, I found out that I also needed the following using entries in _Imports.razor for it to compile: @using Blazor.Extensions for the BECanvasComponent and @using Blazor.Extensions.Canvas.Canvas2D for the Canvas2DContext.

This mismatch between the code and the readme.md file could be fixed in two ways, or a combination, depending on what fits better:

DannyvanderKraan commented 4 years ago

I'd like to 2nd this. I ran into this issue also. Is this repo abandoned?