Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 0dfd82f

Browse files
committed
Update README
1 parent 4c49969 commit 0dfd82f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,24 @@ Create React apps (with Typescript) with no build configuration.
77

88
_Do you know react and want to try out typescript? Or do you know typescript and want to try out react?_ Get all the benefits from `create-react-app` but you use typescript! 🚀
99

10-
## tl;dr
10+
## Quick Overview
1111

1212
```sh
1313
npx create-react-app my-app --scripts-version=react-scripts-ts
14-
15-
# or if you prefer:
16-
npm install -g create-react-app
17-
create-react-app my-app --scripts-version=react-scripts-ts
18-
19-
# then:
20-
cd my-app/
14+
cd my-app
2115
npm start
16+
17+
# or with yarn
18+
yarn create react-react-app my-app --scripts-version=react-scripts-ts
19+
cd my-app
20+
yarn start
2221
```
2322

23+
*([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))*
24+
25+
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
26+
When you’re ready to deploy to production, create a minified bundle with `npm run build`.
27+
2428
## Migration
2529

2630
In general, most upgrades won't require any migration steps to work, but if you experience problems after an upgrade, please file an issue, and we'll add it to the list of migration steps below.

0 commit comments

Comments
 (0)