Update CRA installation script using npx (#21201)
This commit is contained in:
committed by
Paul Gamble
parent
184b5c2bf0
commit
82954a7778
@ -10,8 +10,7 @@ You could just embed the React library in your webpage like so<sup>2</sup>:
|
|||||||
|
|
||||||
Smart programmers want to take the more practical and productive way: [Create React App](https://github.com/facebookincubator/create-react-app)
|
Smart programmers want to take the more practical and productive way: [Create React App](https://github.com/facebookincubator/create-react-app)
|
||||||
```bash
|
```bash
|
||||||
npm install -g create-react-app
|
npx create-react-app my-app
|
||||||
create-react-app my-app
|
|
||||||
|
|
||||||
cd my-app
|
cd my-app
|
||||||
npm start
|
npm start
|
||||||
|
Reference in New Issue
Block a user