How do I use ES6 (ES2015) in a ruby on rails app?

后端 未结 3 1513
梦谈多话
梦谈多话 2020-12-30 01:03

I have a 4.2 rails app and am considering slowly converting the JS to ES6. Right now I\'m using the standard rails manifest file from the asset pipeline to pre-process my js

3条回答
  •  孤独总比滥情好
    2020-12-30 01:37

    Answering for myself 3 years later...

    Rails > 5.1 has webpacker and native support for webpack builds and various front end frameworks if desired (react, vue, etc)

提交回复
热议问题