ember-cli-seeds-scaffold

2.1.3 • Public • Published

Ember CLI - Seeds Scaffold

Join the chat at https://gitter.im/terminalvelocity/seeds.js Score on Ember Observer Stories in Ready Downloads on NPM

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

Join the chat at https://gitter.im/terminalvelocity/seeds.js Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Dependents (0)

Package Sidebar

Install

npm i ember-cli-seeds-scaffold

Weekly Downloads

90

Version

2.1.3

License

MIT

Unpacked Size

34.5 kB

Total Files

28

Last publish

Collaborators

  • jhliberty