1👍
✅
The problem is that command npm install chart.js --save
only installs chartjs libray (in /node_modules dir), you also need to integrate it with your project, for example with script tag placed in <head>
:
<script src="path/to/chartjs/dist/Chart.js"></script>
Source:stackexchange.com