npm install -g create-react-app
create-react-app my-app
cd my-app/

启动项目:npm start 

安装依赖:npm install 

 编译:npm run build

相关文章: