Skip to Content

Registry

GitHub Pages 是 CLI 消费 registry 的公开入口。

registry item 保持 shadcn-compatible 结构,CLI 通过它解析组件文件、 npm 依赖和 registryDependencies。

Public endpoints

Pages 会暴露 index 和每个 item 的 JSON。

https://vekui.github.io/weapp/r/index.jsonhttps://vekui.github.io/weapp/r/button.json

Schema surface

CLI 依赖这些字段完成源码写入。

  • name
  • type
  • title
  • description
  • dependencies
  • registryDependencies
  • files