You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial/02-create-app.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,18 @@ In this section you'll create a new React app.
5
5
1. Open your command-line interface (CLI), navigate to a directory where you have rights to create files, and run the following commands to create a new React app.
1. Once the command finishes, change to the `graph-tutorial` directory in your CLI and run the following command to start a local web server.
12
12
13
13
```Shell
14
-
npm start
14
+
yarn start
15
15
```
16
16
17
+
> [!NOTE]
18
+
> If you do not have [Yarn](https://yarnpkg.com/) installed, you can use `npm start` instead.
19
+
17
20
Your default browser opens to [https://localhost:3000/](https://localhost:3000) with a default React page. If your browser doesn't open, open it and browse to [https://localhost:3000/](https://localhost:3000) to verify that the new app works.
18
21
19
22
## Add Node packages
@@ -32,8 +35,8 @@ Before moving on, install some additional packages that you will use later:
0 commit comments