入门 React 应用

使用 Create React App 创建 React 应用。

使用命令:

  • yarn start 在开发模式下启动应用,编辑后页面自动刷新,控制台显示错误信息。
  • yarn test 在交互式监视模式下运行测试。
  • yarn build 构建生产环境应用,优化性能,支持部署。
  • yarn eject 从项目中移除构建依赖项,提供所有配置文件和传递依赖项。
zip
gobaber-web-main.zip 预估大小:41个文件
folder
gobaber-web-main 文件夹
file
.gitignore 310B
file
tsconfig.json 535B
file
README.md 2KB
folder
public 文件夹
file
robots.txt 67B
file
index.html 538B
file
.eslintcache 9KB
file
LICENSE 1KB
file
package.json 1KB
file
debug.log 126B
folder
src 文件夹
folder
components 文件夹
folder
Toast 文件夹
file
index.tsx 867B
folder
Toast 文件夹
file
index.tsx 1KB
file
styles.ts 1KB
file
styles.ts 173B
folder
Tooltip 文件夹
file
index.tsx 383B
file
styles.ts 876B
folder
Button 文件夹
file
index.tsx 322B
file
styles.ts 408B
folder
Input 文件夹
file
index.tsx 2KB
file
styles.ts 1KB
folder
routes 文件夹
file
index.tsx 519B
file
Route.tsx 867B
file
reportWebVitals.ts 425B
file
index.tsx 266B
folder
services 文件夹
file
api.ts 117B
folder
utils 文件夹
file
getValidationsErrors.ts 336B
file
App.tsx 372B
file
react-app-env.d.ts 40B
folder
pages 文件夹
folder
SignIn 文件夹
file
index.tsx 3KB
file
styles.ts 1KB
folder
Dashboard 文件夹
file
index.tsx 140B
folder
SignUp 文件夹
file
index.tsx 3KB
file
styles.ts 1KB
folder
styles 文件夹
file
global.ts 518B
folder
assets 文件夹
file
sign-in-background.png 822KB
file
sign-up-background.png 771KB
file
logo.svg 85KB
folder
hooks 文件夹
file
index.tsx 315B
file
AuthContext.tsx 2KB
file
ToastContext.tsx 1KB
file
setupTests.ts 36B
file
yarn.lock 513KB
zip 文件大小:1.8MB