Skip to content

Commit 8848713

Browse files
committed
update the quick-start so it's ready to merge
1 parent 226c1d4 commit 8848713

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

guides/release/getting-started/quick-start.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ you will have access to a new `ember` command in your terminal.
3131
You can use the `ember new` command to create a new application.
3232

3333
```bash
34-
ember new ember-quickstart --lang en
34+
ember new ember-quickstart --lang en --strict
3535
```
3636

3737
This one command will create a new directory called `ember-quickstart` and set up a new Ember application inside of it.
@@ -119,8 +119,6 @@ ember generate route scientists
119119
You'll see output like this:
120120

121121
```bash
122-
# 🚧 Under construction 🚧
123-
# `ember generate route` has not been updated to produce GJS files yet.
124122
installing route
125123
create app/routes/scientists.js
126124
create app/templates/scientists.gjs
@@ -137,7 +135,7 @@ That is Ember telling you that it has created:
137135
3. An entry in the application's router (located in `app/router.js`).
138136
4. A unit test for this route.
139137

140-
Open the newly-created template in `app/templates/scientists.gjs` and add the following HTML:
138+
Open the newly-created template in `app/templates/scientists.gjs` and add the following code:
141139

142140
```gjs {data-filename=app/templates/scientists.gjs}
143141
import { pageTitle } from 'ember-page-title';
@@ -216,11 +214,24 @@ As usual, there's a generator that makes this easy for us.
216214
Make a new component by typing:
217215

218216
```bash
219-
# 🚧 Under construction 🚧
220-
# `ember generate component` has not been updated to produce GJS files yet.
217+
ember generate component people-list
221218
```
222219

223-
Copy and paste this part of the `scientists` template into the `PeopleList` component and edit it to look as follows:
220+
You'll see output like this:
221+
222+
```bash
223+
installing component
224+
create app/components/people-list.gjs
225+
installing component-test
226+
create tests/integration/components/people-list-test.gjs
227+
```
228+
229+
That is Ember telling you that it has created:
230+
231+
1. A `people-list` component in the `components` folder
232+
2. A `people-list-test` integration test file that you can use to test your component
233+
234+
Copy and paste this part of the `scientists` template into the newly created `PeopleList` component and edit it to look as follows:
224235

225236
```gjs {data-filename=app/components/people-list.gjs}
226237
<template>

0 commit comments

Comments
 (0)