yarn add chartkick chart.js. And in app/javascript/packs/application.js , add: ... require chartkick //= require Chart.bundle ... Id, width, and height
確定! 回上一頁