fails to load with activeadmin with use_webpacker = true
gsar opened this issue · 3 comments
gsar commented
activeadmin 2.7.0 has support for webpacker via the use_webpacker
config option: activeadmin/activeadmin#5855
chartkick doesn't seem to load properly when using this configuration and following the notes in the chartkick README on webpacker setup. it just fails with Chartkick is not defined
errors.
anyone able to get it working with activeadmin when using use_webpacker = true
?
ankane commented
Hey @gsar, that error indicates the page is missing the Chartkick JavaScript library. I'd make sure it's included in the appropriate pack. Please use Stack Overflow for additional help.