有没有一种方法可以在Rails中设置ReactJS而不使用预先存在的gem,例如react-rails?
Just like any javascript libs, you can just download the source and copy it into your javascripts folder (preferably vendor/assets/javascripts). And then in application.js:
//= require_tree ../../../vendor/assets/javascripts/.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.