ember-cli-seeds-scaffold
v2.1.3
Published
Ember CLI - Seeds Scaffold =====
Downloads
293
Readme
Ember CLI - Seeds Scaffold
Seeds is an acronym that stands for Sails Ember Ember-Data Semantic-UI. It is designed for Rapid Application Prototyping.
.
. ;
. . ;% ;;
, , :;% %;
: ; :;%;' .,
,. %; %; ; %;' ,;
; ;%; %%; , %; ;%; ,%'
%; %;%; , ; %; ;%; ,%;'
;%; %; ;%; % ;%; ,%;'
`%;. ;%; %;' `;%%;.%;'
`:;%. ;%%. %@; %; ;@%;%'
`:%;. :;bd%; %;@%;'
`@%:. :;%. ;@@%;'
`@%. `;@%. ;@@%;
`@%%. `@%% ;@@%;
;@%. :@%% %@@%;
%@bd%%%bd%%:;
#@%%%%%:;;
%@@%%%::;
%@@@%(o); . '
%@@@o%;:(.,'
`.. %@@@o%::;
`)@@@o%::;
%@@(o)::;
.%@@@@%::;
;%@@@@%::;.
;%@@@@%%:;;;.
...;%@@@@@%%:;;;;,..
Plant some seeds, watch em grow
You reap what you sow
Ember-CLI Seeds Scaffold
Ember-cli-seeds-scaffold
Scaffolds adapters, models, routes and templates a la rails with a touch of Semantic-UI. Designed to work with Seeds.js and adapted from Ember-cli-scaffold.
Installation
Generating a Seeds app automatically installs this for you and is the preferred way to use this addon.
You could also do ember install ember-cli-scaffold
in your ember-cli app.
Usage
seeds generate scaffold user first_name:string last_name:string age:number
open http://localhost:4200/users
This command generate the following files:
- app/mixins/save-model-mixin.js
- app/adapters/user.js
- app/models/user.js
- app/routes/users.js
- app/routes/users/edit.js
- app/routes/users/index.js
- app/routes/users/new.js
- app/templates/users.hbs
- app/templates/users/-form.hbs
- app/templates/users/edit.hbs
- app/templates/users/index.hbs
- app/templates/users/new.hbs
- app/templates/users/show.hbs
- tests/acceptance/users-test.js
Running Tests
npm test
Contributing
- Fork it
- 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