Kube for Rails 4 Asset Pipeline
Kube is a minimal CSS-framework for developers. This projects integrates it for Rails 4 Asset Pipeline.
Installing Gem
Include the Kube Rails gem in Gemfile to install it from RubyGems.org;
gem "kube-rails"
Then run bundle install
from the command line.
Using Generators
Install
Installs Kube to Asset Pipeline.
Usage:
rails g kube:install
Themed
Generate Kube compatible scaffold views. Support for Haml and Slim is available.
Usage:
rails g kube:themed [RESOURCE]
Example:
rails g scaffold Post title:string description:text
rake db:migrate
rails g kube:themed Posts