- In terminal, go to your work directory (using
cd) and typegit clone [email protected]:ijlee2/hpl-tutorials.git. - Type
cd hpl-tutorials. - Each folder inside
hpl-tutorialsis an Ember app that you can install and run locally. For example, to run the first tutorial, you can typecd hpl-tutorial-01, thenember s. - Once an app is running, visit
localhost:4200on Chrome or Firefox.
- Use
ember newto create an Ember project - Use
ember serve(orember s) to start the Ember app - Understand Component-Driven Design (templates, components)
- Investigate why the default welcome page is rendered (see
app/templates/application.hbs) - Use
ember generate component(orember g component) to create 2 components,my-listandmy-list-item - Display the name of 1 person using
my-listandmy-list-itemcomponents - Display the names of 3 people using
{{each}}helper - Update the stylesheet (
app/styles/app.css)
To learn more, visit:
- Handlebars (double curly brace notation,
eachhelper) - Ember Templates 1 (skip section on helpers)
- Ember Templates 2
- Ember Component 1 (
initmethod)
- Use
ember g routeto createmembersandofficersroutes - Use
{{link-to}}helper to navigate between routes - Understand the purpose of
{{outlet}} - Use a route's
model()to display data - Use
ember installto install addons (e.g. ember-cli-sass)
To learn more, visit:
- Use a
controllerto filter data from a route'smodel() - Define a
model's attributes - Understand the purpose of an
adapterand aserializer - Use Mirage and Faker.js to create mock data
- Use ember-test-selectors to write integration and acceptance tests
To learn more, visit: