reports_kit
reports_kit copied to clipboard
Installation instructions assume asset pipeline is being used
I wanted to try out reports_kit, but I got stuck on the install instructions here: https://www.reportskit.co/categories/getting_started
The css and javascript instructions look like they only work with asset pipeline. Is it possible to set up without the special asset pipeline directives?
I'm unfortunately not familiar enough with modern CSS/JavaScript package management to quickly determine how to best support this. Are there examples of other Rails gems that support both the asset pipeline and other package management tools? Perhaps we can use them as examples to determine how to best implement this.
There is relatively minimal CSS and JS in ReportsKit, FWIW: https://github.com/tombenner/reports_kit/tree/master/app/assets
I'm not either, but if I figure it out, I'll report back.
@ragesoss Could you please explain how did you figure it out? Have you enabled asset pipeline in development environment?
@apopescu I never did. went with a simpler but less featureful chart library instead.
@apopescu Did you have any luck? I'm finding that it conflicts with some of the other assets already listed in my application.js file. Particularly the moment.js since my app currently uses moment.min.js.