A gem to easily integrate underscorejs with the rails 6.1+ asset pipeline.
Currently this gem brings support for underscorejs v0.5.16.
First add the following lines to your applications Gemfile
:
gem 'underscorejs-rb'
Run bundle install
.
Add the following lines to app/assets/javascripts/application.js
:
//= require underscorejs
Please refer to https://underscorejs.org/ for all the details on how to use.
- underscorejs-rb is (c) Copyright Gajendra Jena
- This gem is maintained by @gajendrajena