CardJs for the Rails asset pipeline.
Add this line to your application's Gemfile:
gem 'card-js-rails', '~> 1.0'
And then execute:
bundle install
Add the JS to your application.js:
//= require card-js
And add the CSS to your application.scss:
@import "card-js";
Use exactly as described in the CardJS documentation.
Bug reports and pull requests are welcome on GitHub at https://github.com/fishpercolator/card-js-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.