/card-js-rails

CardJs for the Rails asset pipeline

Primary LanguageRubyMIT LicenseMIT

card-js-rails

CardJs for the Rails asset pipeline.

Installation

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";

Usage

Use exactly as described in the CardJS documentation.

Contributing

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.

License

The gem is available as open source under the terms of the MIT License.