React开发环境与构建工具集

如果你在做 React 项目,想要搞定开发环境和构建流程,这个工具集简直是你的好帮手。通过运行yarn start,你就能启动应用,查看在浏览器中的效果,修改代码后,页面会自动刷新,简直省时省力。yarn test则能启动测试,实时查看交互式测试反馈,挺方便的。yarn build则帮你打包生产环境代码,自动优化 React 的构建,减少冗余,提升性能。文件名还会加上哈希值,确保缓存更新。需要注意的是,yarn eject是个单向操作,执行后你就能完全自定义 webpack、Babel 等工具,但也要谨慎,毕竟你不能回头了。,如果你需要灵活配置,又不想太麻烦,这些命令会帮你事半功倍。

zip
korean-skincare-routine-master.zip 预估大小:43个文件
folder
korean-skincare-routine-master 文件夹
file
.gitignore 310B
file
package.json 1KB
file
package-lock.json 675KB
folder
src 文件夹
folder
components 文件夹
folder
Header 文件夹
file
index.tsx 2KB
folder
Nav 文件夹
file
index.tsx 863B
folder
Cards 文件夹
folder
CardOne 文件夹
file
index.tsx 1KB
folder
CardTwo 文件夹
file
index.tsx 1KB
folder
CardThree 文件夹
file
index.tsx 1KB
file
index.tsx 633B
folder
Footer 文件夹
folder
Content 文件夹
file
index.tsx 3KB
file
index.tsx 871B
folder
FloatingButton 文件夹
file
index.tsx 991B
file
react-app-env.d.ts 40B
folder
assets 文件夹
file
favicon-32x32.png 1KB
file
illustration-flowing-conversation.svg 76KB
file
illustration-grow-together.svg 29KB
file
logo.svg 8KB
file
illustration-mockups.svg 8KB
file
icon-email.svg 242B
file
illustration-your-users.svg 47KB
file
bg-hero-mobile.svg 2KB
file
bg-hero-desktop.svg 3KB
file
icon-location.svg 319B
file
icon-phone.svg 399B
file
logo.svg 3KB
file
setupTests.ts 255B
file
App.css 584B
file
index.css 366B
file
index.tsx 503B
file
App.test.tsx 280B
file
serviceWorker.ts 5KB
file
App.tsx 398B
folder
public 文件夹
file
robots.txt 67B
file
logo192.png 5KB
file
index.html 2KB
file
favicon.ico 3KB
file
manifest.json 492B
file
logo512.png 9KB
file
tsconfig.json 491B
file
my-theme.ts 188B
file
README.md 2KB
file
styled.d.ts 193B
file
yarn.lock 470KB
zip 文件大小:434.54KB