From bcc604d7a1e907d0012e68e8d811016d12b96eea Mon Sep 17 00:00:00 2001 From: Shaun Wallace Date: Tue, 4 Apr 2017 12:06:37 +0100 Subject: [PATCH 1/3] adding comment on windows support of nvm --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 128b71d9f34..cd8dfecc15d 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ npm install -g create-react-app **We strongly recommend to use Node >= 6 and npm >= 3 for faster installation speed and better disk usage.** You can use [nvm](https://github.com/creationix/nvm#usage) to easily switch Node versions between different projects. +**Note:** `nvm` does not support Windows (nvm issue [#284](https://github.com/creationix/nvm/issues/284)). See potential [alternatives](https://github.com/creationix/nvm#installation). + **This tool doesn’t assume a Node backend**. The Node installation is only required for the build tools that rely on it locally, such as Webpack and Babel. ### Creating an App From f397890ef3daa610d99f13c50278cdddee16c7bc Mon Sep 17 00:00:00 2001 From: Shaun Wallace Date: Tue, 4 Apr 2017 12:07:27 +0100 Subject: [PATCH 2/3] adding tree structure for intial project output --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index cd8dfecc15d..2a45d6731c7 100644 --- a/README.md +++ b/README.md @@ -54,21 +54,21 @@ It will create a directory called `my-app` inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies: ``` -my-app/ - README.md - node_modules/ - package.json - .gitignore - public/ - favicon.ico - index.html - src/ - App.css - App.js - App.test.js - index.css - index.js - logo.svg +my-app +├── README.md +├── node_modules +├── package.json +├── .gitignore +├── public +│ └── favicon.ico +│ └── index.html +└── src + └── App.css + └── App.js + └── App.test.js + └── index.css + └── index.js + └── logo.svg ``` No configuration or complicated folder structures, just the files you need to build your app.
From 87674eaca47e62e5077ac103e4dc833b7b6928d6 Mon Sep 17 00:00:00 2001 From: Shaun Wallace Date: Fri, 7 Apr 2017 09:26:18 +0100 Subject: [PATCH 3/3] applying feedback from this thread create-react-app/pull/1931 --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index e57f8687f27..decb0a62ed6 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,7 @@ npm install -g create-react-app **You’ll need to have Node >= 4 on your machine**. -**We strongly recommend to use Node >= 6 and npm >= 3 for faster installation speed and better disk usage.** You can use [nvm](https://github.com/creationix/nvm#usage) to easily switch Node versions between different projects. - -**Note:** `nvm` does not support Windows (nvm issue [#284](https://github.com/creationix/nvm/issues/284)). See potential [alternatives](https://github.com/creationix/nvm#installation). +**We strongly recommend to use Node >= 6 and npm >= 3 for faster installation speed and better disk usage.** You can use [nvm](https://github.com/creationix/nvm#installation) to easily switch Node versions between different projects. **This tool doesn’t assume a Node backend**. The Node installation is only required for Create React App itself.