Sha256: 4c4c9738ff3231f333bbe05321357856f1d2137be34e6a59eb479db421b66fa9
Contents?: true
Size: 1023 Bytes
Versions: 1
Compression:
Stored size: 1023 Bytes
Contents
## AngularjsScaffold + CoffeeScript A rails plugin for scaffolding views using Angular.js, Twitter bootstrap and font awesome This project uses MIT-LICENSE. First install the gem or add it to your Gemfile: $ gem install angularjs_scaffold Second install it, this will add angularjs, bootstrap and fontawesome (there's an option to only install AngularJS) $ rails g angularjs:install # adds angular.js and a dummy welcome JS controller options: --layout-type=fixed [fluid] --no-jquery --no-bootstrap --language=coffeescript [javascript] NOTE: this setting will be set for the entire rails app and will affect all subsequent 'rails generate angularjs:scaffold <<model>>' commands Run your usual scaffold command: $ rails g scaffold Post title:string body:string $ rake db:migrate Now run the angularjs:scaffold command and it will rewrite everything the AngularJS way: $ rails g angularjs:scaffold Posts # adds everything needed using AngularJS Enjoy!
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
angularjs_scaffold-0.0.24 | README.md |