【文件属性】:
文件名称:快照测试
文件大小:846KB
文件格式:ZIP
更新时间:2021-02-18 14:47:49
JavaScript
入门
1.您可以通过运行以下命令在本地计算机上克隆存储库开始:
git clone https://github.com/snphq/react-starter-boilerplate
cd react-starter-boilerplate
2.安装所有依赖项:
yarn
3.开始运行它:
yarn start
现在,应用程序应该在
NPM主脚本命令
yarn [removed]
描述
start
在开发服务器上的localhost:5000上运行您的应用程序。 HMR将被启用。
start:production
将文件捆绑到./public/assets并在具有生产环境的localhost:8080的生产服务器上运行它。
start:staging
将文件捆绑到./public/assets ,然后在具有暂存环境的暂存服务器上的localhost:8080上运行它