Sinatra
Require it after you require 'sinatra/base'
and add helper Sinatra::ApexCharts
in the class that inherits from Sinatra::Base
.
To add the asset (ApexCharts.JS), include a script tag in your template as follows:
For more details, see example.
Last updated