React初始项目操作指南
使用Create React App快速创建项目。在项目目录中运行命令: yarn start
启动开发模式,在浏览器中查看应用。编辑后页面会自动更新。运行 yarn test
启动测试程序监视模式。运行 yarn build
构建生产应用到 build
文件夹中,React已经被正确绑定并且进行了优化。运行 yarn eject
可以进行单向操作,移除构建依赖。
218.7KB
文件大小:
评论区