ink3-rails
Ink version 3.x.x for Rails asset pipeline (Rails >= 3.1).
More information about Ink Framework at https://github.com/sapo/Ink and http://ink.sapo.pt
Example Application
An example application is available at mutablestate/ink3-rails-demo. You can see it in action on heroku here.
Installation
Add this line to your application's Gemfile:
gem 'ink3-rails'
or
gem 'ink3-rails', github: 'mutablestate/ink3-rails'
For FontAwesome support:
gem 'font-awesome-rails'
Then execute:
$ bundle install
Usage
Add these lines to your application.css before "*= require_tree .":
*= require ink
or for flexbox support
*= require ink-flex
Add this line for FontAwesome support:
*= require font-awesome
Add these lines to your application.js before "//= require_tree .":
//= require ink-all
//= require autoload
//= require html5shiv
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request