2👍
✅
According to the official docs in this section you could do:
And finally there is an separate path to do just the above for you, in one line:
import Chart from 'chart.js/auto'
Source:stackexchange.com