5 ms·
What is the best Rails solution for javascript modules and package management these days??
by andyl 11y ago
What is the best Rails solution for javascript modules and package management these days??
- geoffharcourt 11y agoI've used a few different approaches, and Rails-Assets works really well both from an ease-of-use and dependency version management standpoint.
- eggbrain 11y agoProbably https://rails-assets.org/ https://rails-assets.org/, you add it as a source in your Gemfile and then add gems based on the scheme "gem 'rails-assets-BOWER_PACKAGE_NAME'"
- kennethtransier 11y agoI'm a huge fan of https://rails-assets.org/ https://rails-assets.org/. Requests components from the Bower registry and packages them as gems.
- grandalf 11y agoI recommend just using webpack or browserify... the workflow supports super fast on-the-fly bundling. Most reasonably large Rails apps end up embedding v8 anyway.