使用Create React App构建与管理React应用

在Create React App项目中,您可以通过以下脚本进行操作:`yarn start`启动开发模式下的应用,并在浏览器中查看。页面将会在编辑时自动刷新,控制台会显示错误信息。使用`yarn test`进入交互式监视模式运行测试。`yarn build`将应用构建到`build`文件夹中,为生产环境优化了React并生成了最小化的构建文件,包含哈希,以便部署。请注意,`yarn eject`是不可逆的操作,会从项目中移除构建工具和配置。您可以通过`eject`命令获得对构建工具和配置的完全控制,但操作后无法返回。
zip
bgio_t-main.zip 预估大小:27个文件
folder
bgio_t-main 文件夹
file
.gitignore 310B
file
package.json 1KB
file
package-lock.json 662KB
folder
src 文件夹
folder
components 文件夹
file
Table.tsx 733B
file
Board.tsx 693B
file
Winner.tsx 266B
file
Cell.tsx 437B
file
react-app-env.d.ts 40B
folder
types 文件夹
file
types.ts 130B
file
logo.svg 3KB
file
setupTests.ts 241B
folder
game 文件夹
file
Game.ts 1KB
file
App.css 564B
file
index.css 366B
file
index.tsx 500B
file
App.test.tsx 273B
file
reportWebVitals.ts 425B
file
App.tsx 225B
folder
public 文件夹
file
robots.txt 67B
file
logo192.png 5KB
file
index.html 2KB
file
favicon.ico 4KB
file
manifest.json 492B
file
logo512.png 9KB
file
tsconfig.json 562B
file
README.md 2KB
file
yarn.lock 497KB
zip 文件大小:386.1KB