SuperAPI AI 工具集

fandhe-frontend

前端与建站

查看项目

更新于 10-15 21:40

技能介绍

用途:fandhe-frontend 是 Rust 前端框架的参考技能,用于在 Rust 项目中查询该框架的用法与 API。框架本身覆盖 SSR、SPA、SSG、View Transitions,并支持以单一可执行文件(面向 Docker)部署,默认对文本插值做转义,core 与 interactive 禁止 unsafe 代码,并限制依赖数量。

主要能力与资料范围:技能按目录组织,包含 getting-started(介绍与快速开始)、guides(组件编写、嵌入、View Transitions、NPM 静态资源、无 JS 的 SSG、动画、部署、docs 站点外部仓库)、api(core、app、interactive、hydration、路由路径匹配、server、keyed list、binding 等)、primitives(headless-ui,无样式,约 75 页)、themes(pre-styled-ui,带样式,约 123 页)、wireframes(低忠实度线框,约 49 个部件)、blocks(Themes/Primitives/core 的合成示例,4 区分、65 类别、329 个 block)以及 samples 与 scripts。

使用方式:先按任务在映射表中定位类别,再读该类别 README 找到目标页面,最后读取对应 .md 获取细节。Rust 项目查本技能;React/JS 项目应查 ark-ui 或 chakra-ui 技能;后端查 fandhe-backend。Primitives 与 Themes 的组件名和 anatomy 与 Ark UI、Chakra UI v3 对应,但均为 Rust API,不能与 @ark-ui/react、@chakra-ui/react 互相 import。Wireframes 是独立 crate 与 API,不能与 Primitives/Themes 互换。

限制:资料未提供具体安装命令、价格与效果数据;官方文档为 https://fandhe-ai.github.io/fandhe-frontend/ ,仓库为 https://github.com/Fandhe-AI/fandhe-frontend 。