Closed mihaimyh closed 5 years ago
Did you included css and js files in your wwwroot folder for the server-side project? See the description in the readme
Basically server-side projects still not support static files in the nuget packages so they must be copied manually.
Hi guys, i had the same issue, I can not figure out what im doing wrong.
I downloaded the zip archive, extract everything in the www. ( I'm missing actually the file blazorise.sidebar.js, as it is not included int the zip).
All the resources are getting loaded from the browser, but I still get the same error as @mihaimyh .
It seems I have not updated docs according to the latest Blazor preview6. I think the solution is to rename a ref
to @ref
on the Chart component. eg.
<LineChart @ref="lineChart" TItem="double" />
As for the blazorise.sidebar.js file, you can safely remove it from your source because it is not used at all.
Thanks @stsrki That fixed it.
Fixed with #143
Using Blazorise.Charts Version="0.7.7" with netcore3-preview6 and a blazor-server side project, I am unable to use the example found in the documentation here https://github.com/stsrki/Blazorise/blob/master/docs/_docs/extensions/chart.md due to the following exceptions:
What I am doing wrong?