Install the dependencies:
pnpm installStart the dev server, and the app will be available at http://localhost:3000.
pnpm devBuild the app for production:
pnpm buildPreview the production build locally:
pnpm previewTo learn more about Rsbuild, check out the following resources:
- Rsbuild documentation - explore Rsbuild features and APIs.
- Rsbuild GitHub repository - your feedback and contributions are welcome!
- router文档
| API | 一句话记忆 |
|---|---|
| Page Visibility | 页面隐藏时暂停 |
| Web Share | 一键系统分享 |
| Broadcast Channel | 跨标签页通信 |
| Intl.NumberFormat | 千分位/货币格式化 |
| IntersectionObserver | 懒加载+曝光 |
| ResizeObserver | 元素尺寸监听 |
| Clipboard | 无依赖复制 |
| URLSearchParams | 解析 query 神器 |
| AbortController | 可取消 fetch |
| requestIdleCallback | 垃圾时间任务 |