https://github.com/wgbx/react-playground
https://github.com/wgbx/react-playground
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wgbx/react-playground
- Owner: wgbx
- Created: 2024-12-18T02:58:31.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-20T02:21:34.000Z (5 months ago)
- Last Synced: 2024-12-26T11:12:40.251Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 231 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```markdown
# React 项目文档## 开发指南
### 环境要求
- Node.js >= 18.18.0
- pnpm### 安装依赖
```
pnpm install
```### 开发服务
```bash
pnpm dev
```### 构建
```bash
pnpm build
```## 配置说明
### TypeScript 配置
项目使用严格的 TypeScript 配置,包括:
- 严格模式启用
- 模块解析使用 bundler 模式
- 支持路径别名 (@/* -> ./src/*)### ESLint 配置
使用了 @antfu/eslint-config 配置,支持:
- React 相关规则
- TypeScript 类型检查
- 代码格式化