Skip to content

Commit

Permalink
Replace chart.min.js by chart.umd.js (#916)
Browse files Browse the repository at this point in the history
There is no "chart.min.js" file when you "npm install chart.js".
I supposed it has been replaced by "chart.umd.js" as indicated in the Chart.js integration documentation.
  • Loading branch information
JimmyGouraud committed Nov 11, 2023
1 parent e66cacc commit 4b8ff4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Integration
## Script Tag

```html
<script src="path/to/chartjs/dist/chart.min.js"></script>
<script src="path/to/chartjs/dist/chart.umd.js"></script>
<script src="path/to/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.min.js"></script>
<script>
var myChart = new Chart(ctx, {...});
Expand Down

0 comments on commit 4b8ff4f

Please sign in to comment.