React项目启动与运行

启动项目

使用 yarn start 命令,在开发模式下运行应用程序。这将在浏览器中打开应用程序,并在您进行更改时自动刷新页面,并在控制台中显示任何 lint 错误。

运行测试

yarn test 命令以交互式监视模式启动测试运行器。

构建项目

运行 yarn build 命令将应用程序构建到 build 文件夹中,它以生产模式进行优化,并准备好部署。

弹出配置

yarn eject 命令会将所有配置文件和传递依赖项从项目中删除,使您能够完全控制配置。请注意,这是一个不可逆的操作。

zip
demo-memoize-perf-master.zip 预估大小:21个文件
folder
demo-memoize-perf-master 文件夹
file
package.json 821B
file
.eslintcache 1KB
folder
src 文件夹
file
App.css 225B
file
index.js 500B
file
SelectableTile.js 399B
file
reportWebVitals.js 362B
file
logo.svg 3KB
file
App.test.js 246B
file
setupTests.js 241B
file
App.js 1KB
file
Tile.js 890B
file
index.css 366B
file
.gitignore 310B
folder
public 文件夹
file
logo192.png 5KB
file
manifest.json 492B
file
robots.txt 67B
file
index.html 2KB
file
logo512.png 9KB
file
favicon.ico 4KB
file
README.md 3KB
file
yarn.lock 492KB
zip 文件大小:214.83KB