Loading...
Loading...
Compare original and translation side by side
@pierre/trees@pierre/trees@pierre/trees@pierre/treespnpm add @pierre/treesreactreact-dompnpm add @pierre/treesreactreact-dom| Entry | Reference |
|---|---|
| Core API |
| React API |
| SSR API |
| Web components API |
| 入口 | 参考文档 |
|---|---|
| Core API |
| React API |
| SSR API |
| Web components API |
| Task | Recipe |
|---|---|
| Render and update a tree in React | Use React |
| Render and update a tree without React | Use vanilla JavaScript |
| Preload a tree on the server | Use SSR |
| Apply a resolved Shiki or VS Code theme | Apply a theme |
| Configure search, rename, drag and drop, and git status | Add interactions |
| 任务 | 示例文档 |
|---|---|
| 在React中渲染并更新树结构 | Use React |
| 不使用React渲染并更新树结构 | Use vanilla JavaScript |
| 在服务器端预加载树结构 | Use SSR |
| 应用已解析的Shiki或VS Code主题 | Apply a theme |
| 配置搜索、重命名、拖拽及Git状态功能 | Add interactions |