This is an ember-cli implementation of TodoMVC.
Each commit corresponds to a single step in the Ember Getting Started guide.
Commit descriptions include any corresponding ember-cli generator and addon install commands.
ember new todomvc-embercli
View this step on GitHub
View this step in the Ember.js Guide or on GitHub
ember g route todos --type resource --path '/'
View this step in the Ember.js Guide or on GitHub
ember g model todo title:string isCompleted:boolean
View this step in the Ember.js Guide or on GitHub
ember g adapter application
NOTE: The adapter should extend DS.FixtureAdapter
rather than DS.RESTAdapter
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
ember g controller todos
View this step in the Ember.js Guide or on GitHub
ember g controller todo
NOTE: The controller should extend Ember.ObjectController
rather than Ember.Controller
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
ember g component edit-todo
rm app/templates/components/edit-todo.hbs
NOTE: The component should extend Ember.TextField
rather than Ember.Component
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
ember g template todos/index
View this step in the Ember.js Guide or on GitHub
ember g route todos/active
rm app/templates/todos/active.hbs
View this step in the Ember.js Guide or on GitHub
ember g route todos/completed
rm app/templates/todos/completed.hbs
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
View this step in the Ember.js Guide or on GitHub
npm install --save-dev ember-localstorage-adapter
View this step in the Ember.js Guide or on GitHub
Check out Ryan LaBouve's screencast for a walkthrough of the entire process. He explains each step thoroughly and does not use any generators along the way.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.