as seen on this issue, if you use angular cli you only need to add this to the scripts array in angular-cli.json:


restart your application, live reload won't do the trick.


after you do npm install chart.js,

you can simply use

import chart from 'chart.js'

to import chart.js hope it helps.

Related Query

More Query from same tag