After you do npm install chart.js ,. You can simply use import Chart from 'chart.js'. to import chart.js Hope it helps.
確定! 回上一頁