Wednesday, June 7, 2017

ember.js practice

-install ember-cli
npm install -g ember-cli

- create project
ember new hello-world

--start server
ember server

- create controller
ember g controller application

- create route
ember g route about
ember g route parent
ember g route parent/child

--create component
ember g component x-counter


{{#unless showName}}
   

Hello {{name}}


{{else}}
   

Hello Ember


{{/unless}}






{{numClicks}} Click



Here is a tutorial online.

No comments:

Post a Comment