P
P
pup_pupets2016-05-14 11:14:51
Ruby on Rails
pup_pupets, 2016-05-14 11:14:51

In which directory to store third-party scripts (vendor, public, lib, app)?

Usually, when downloading some third-party JS libraries, I always put them in app/assets/javascript But then I thought about something, is this right? After all, they are already minified, there is a map, everything is there, why put them in-house? In addition, inside the scripts there are transitions to other scripts, and therefore there are issues with visibility. I thought. What's the alternative? Those. Yes, there are directories: app/assets, lib/assets, public, vendor/assets. But where is it good to throw off someone else's?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karim Kyatlottyavi, 2016-05-14
@pup_pupets

In vendor/assets
guides.rubyonrails.org/getting_started.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question