We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When loading Chart.js via npm/webpack the following line is throwing an error.
Unhandled exception rendering component: Cannot read properties of undefined (reading 'each') TypeError: Cannot read properties of undefined (reading 'each') at Object.get (http://localhost:5001/_content/Blazor.Bootstrap/blazor.bootstrap.js:1542:23) at Object.initialize (http://localhost:5001/_content/Blazor.Bootstrap/blazor.bootstrap.js:1551:44) at http://localhost:5001/_framework/blazor.webassembly.js:1:2878
To Reproduce Steps to reproduce the behavior:
import Chart from 'chart.js/auto'; window.Chart = Chart; import { color } from 'chart.js/helpers';
Expected behavior I would expect that the webpack version works the same as the CDN version.
Versions (please complete the following information):
Sample code
# webpack.js import Chart from 'chart.js/auto'; window.Chart = Chart; import { color } from 'chart.js/helpers';
Maybe I'm missing something, maybe it's a bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When loading Chart.js via npm/webpack the following line is throwing an error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect that the webpack version works the same as the CDN version.
Versions (please complete the following information):
Sample code
Maybe I'm missing something, maybe it's a bug?
The text was updated successfully, but these errors were encountered: