Chart.js in ERP Next custom app

I want to install Chart.js in my custom app that I can use for creating a custom dashboard with other charts which are not included in ERP Next by default (for example, a funnel chart or a scatter chart).

How can I install chart.js in my custom app?

If installed, how will I ensure that this also works on deployed instance on Frappe cloud?