프로젝트
GitHub에서 보기
patcito/angularjs_scaffold
소개
A rails plugin for scaffolding views using Angular.js, Twitter bootstrap and font-awesome.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAngularjsScaffold + 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!
관련 프로젝트 살펴보기
불러오는 중…