Skip to content

@acrux/registry

shadcn-vue 组件 registry,以源码分发方式跨 app 复用 CMS / DataView / Actions 组件,消费端落地后仍可改源码。

占位内容

内容待补全。

Registry 端点

本站同域托管 registry JSON(版本 v0):

https://acrux.geektr.cloud/r/v0/{name}.json

消费

在消费端 components.json 配置命名空间:

jsonc
{
  "registries": {
    "@acrux": "https://acrux.geektr.cloud/r/v0/{name}.json"
  }
}

然后安装组件(基础 shadcn 依赖会自动解析进消费端的 @/components/ui):

bash
npx shadcn-vue add @acrux/page-entry

当前 items

  • page-entry — 列表页外壳(标题栏 + 骨架 / 空态 / 错误态)。