Using 3rd party js library(no gem) in assets

8 views
Skip to first unread message

Jiří Procházka

unread,
Oct 7, 2016, 11:50:39 AM10/7/16
to Ruby on Rails: Talk
Hi,

I'd need an advice from more experienced.
How to work with a js library that has no gem, but has its own stylesheets in css folder, images in img folder and another javascript files in subfolders?

I guess it should all go to the vendor/assets, but should I distribute those files to vendor/assets/stylesheets and vendor/assets/javascripts? Should I keep the folders structure with img and css folders?
And what about the relative paths in those files?

Thanks a lot
Reply all
Reply to author
Forward
0 new messages