reports_kit icon indicating copy to clipboard operation
reports_kit copied to clipboard

Installation instructions assume asset pipeline is being used

Open ragesoss opened this issue 8 years ago • 5 comments

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?

ragesoss avatar Oct 12 '17 18:10 ragesoss

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

tombenner avatar Oct 15 '17 14:10 tombenner

I'm not either, but if I figure it out, I'll report back.

ragesoss avatar Oct 16 '17 16:10 ragesoss

@ragesoss Could you please explain how did you figure it out? Have you enabled asset pipeline in development environment?

apopescu avatar Jun 18 '18 09:06 apopescu

@apopescu I never did. went with a simpler but less featureful chart library instead.

ragesoss avatar Jun 18 '18 18:06 ragesoss

@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.

dlp21103 avatar Aug 02 '18 12:08 dlp21103