I am using Rails 6.1.4.1 for this app still and get an AssetNotPrecompiled error for each of the JS files in the gem. I have been able to get it working though by using a CDN import and doing the following:
import Chartkick from "chartkick";
import { Chart, registerables } from "chart.js"
Chart.register(...registerables);
Chartkick.use(Chart)
I am using Rails 6.1.4.1 for this app still and get an
AssetNotPrecompiled
error for each of the JS files in the gem. I have been able to get it working though by using a CDN import and doing the following: