Use the chart, prompt of primeNG to report an error chart is not define

I also installed chart,chart.js using primeng, but mistakenly reported that chart is not defined


item angular-cli.json item apps has been added under the file:

"scripts": [
    "../node_modules/chart.js/dist/Chart.js",
    ...
]
Menu