Rails
//= require apexcharts$ yarn add apexcharts// AMD
window.ApexCharts = require("apexcharts") // expose to window
// or
// ES6
import ApexCharts from 'apexcharts'
window.ApexCharts = ApexCharts$ wget -O vendor/javascript/apexcharts.esm.js https://unpkg.com/apexcharts@latest/dist/apexcharts.esm.jspin "apexcharts", to: "apexcharts.esm.js"pin "apexcharts", to: "https://unpkg.com/apexcharts@latest/dist/apexcharts.esm.js"Last updated