Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

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

Keywords

install

npm i ember-cli-seeds-scaffold

Downloadsweekly downloads

2

version

2.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability