プロジェクト
概要
A rails plugin for scaffolding views using Angular.js, Twitter bootstrap and font-awesome.
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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!
関連プロジェクトを探す
読み込み中…