From 96a2b3686a7b9089b0a4c5cb8839b842e1489399 Mon Sep 17 00:00:00 2001 From: Mark Erikson Date: Sat, 24 Nov 2018 14:49:15 -0500 Subject: [PATCH 1/2] Clarify project setup steps --- content/tutorial/tutorial.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/content/tutorial/tutorial.md b/content/tutorial/tutorial.md index 10341595..e391205e 100644 --- a/content/tutorial/tutorial.md +++ b/content/tutorial/tutorial.md @@ -81,11 +81,22 @@ npm install -g create-react-app create-react-app my-app ``` -3. Delete all files in the `src/` folder of the new project (don't delete the folder, just its contents). +3. Delete all files in the `src/` folder of the new project + +> Note: **don't delete the folder, just the original source files**. We'll replace the default source files with examples for this project in the next step. ```bash cd my-app -rm -f src/* +cd src + +# If you're using a Mac or Linux: +rm -f * + +# Or, if you're on Windows: +del * + +# Then, switch back to the project folder +cd .. ``` 4. Add a file named `index.css` in the `src/` folder with [this CSS code](https://codepen.io/gaearon/pen/oWWQNa?editors=0100). From c5e71fd32c0b4748f1e8b4d2824372792bbbc2ad Mon Sep 17 00:00:00 2001 From: Mark Erikson Date: Sat, 24 Nov 2018 14:51:12 -0500 Subject: [PATCH 2/2] Improve wording --- content/tutorial/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tutorial/tutorial.md b/content/tutorial/tutorial.md index e391205e..0b72419d 100644 --- a/content/tutorial/tutorial.md +++ b/content/tutorial/tutorial.md @@ -83,7 +83,7 @@ create-react-app my-app 3. Delete all files in the `src/` folder of the new project -> Note: **don't delete the folder, just the original source files**. We'll replace the default source files with examples for this project in the next step. +> Note: **don't delete the entire `src` folder, just the original source files inside it.**. We'll replace the default source files with examples for this project in the next step. ```bash cd my-app