erossini / BlazorChartjs

Creates beautiful charts in Blazor using Chart.js. Library for NET6, NET7 and NET8. Source code and demo available.
https://www.puresourcecode.com/dotnet/blazor/blazor-component-for-chartjs/
MIT License
116 stars 44 forks source link

Add type module to use export #53

Closed bdebaere closed 1 year ago

bdebaere commented 1 year ago

Either the readme has to change, or the export keyword has to be removed from the Chart.js file. Right now if you don't specify the type="module" then you receive the error below in the console.

image

erossini commented 1 year ago

Thank you for your PR Enrico