Skip to content

eccegordo/ember-cli-crud-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ember-cli-crud-generator

A blueprint for generating ember cli crud scaffolding

NOTE use with caution this is still a WIP in process and I am still learning the best practices with the ember cli addons.

How to Use

ember g custom-crud-resource foo

Generates models, pods, tests and http mocks

For best results use a singular resource name, the generator will pluralize the appropriate files.

Also don't forget to update router.js with something like

  this.resource('foos', function() {
    this.route('show', { path: ':foo_id' });
    this.route('new');
    this.route('edit', { path: ':foo_id/edit' });
  });

About

A blueprint for generating ember cli crud scaffolding

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published