create-react-app 创建react项目

1:npm install -g create-react-app 

2:创建一个应用 

  1. create-react-app my-app  
  2. cd my-app 

3:提取配置文件

npm run eject

4:允许文件

  npm start

猜你喜欢

转载自www.cnblogs.com/liangshuang/p/9178215.html