Framework7::Rails
Brings the excellent Framework7 into the Rails 3.1+ Asset Pipeline.
The gem version number x.y.z is kept in sync with the version of Framework7 being supported.
Installation
Add this line to your application's Gemfile:
gem 'framework7-rails'
And then execute:
$ bundle
Or, install it yourself as:
$ gem install framework7-rails
Usage
Development/Debugging
In your application.js file, add the line:
//= require framework7
In your application.css file, add the line:
*= require framework7
Production
In your application.js file, add the line:
//= require framework7.min
In your application.css file, add the line:
*= require framework7.min
Future Improvements
Currently, the gem only brings in the assets. But it is the intention to add layout/view generators and helpers.
Contributing
- Fork it ( http://github.com/twss/framework7-rails/fork )
- 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