react常用命令

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

启动项目:npm start 

安装依赖:npm install 

 编译:npm run build

posted @ 2019-01-22 09:42  金虹巴巴  阅读(3849)  评论(0编辑  收藏  举报