Answer the question
In order to leave comments, you need to log in
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
In vendor/assets
guides.rubyonrails.org/getting_started.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question