Answer the question
In order to leave comments, you need to log in
How to correctly connect third-party JS libraries on Rails?
Hello. How to correctly connect third-party JS libraries on Rails? Now I just copy the js files to the project folder, maybe there are better solutions like in npm: installation and update from the console? For example, now you are interested in connecting the momentjs library
Answer the question
In order to leave comments, you need to log in
Some libraries are also packaged in gems, but this is an exception at the moment.
As I understand it, the trend is now everywhere to create a package.json and Gulpfile.js (or whatever you want to collect statics) in the root and give the frontend at the mercy of someone who knows how to handle it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question