@fendlemark/ui

中文文档
0.9.13发布于 2026/11/01MITTypeScriptESM + CJS零依赖构建来源已验证

Vue 3 components, design tokens, and lattice client for the Fendlemark ML platform console. Embed Fendlemark views of MLflow, Metaflow, Argo Workflows, and Kubeflow in your own portal.

原始使用文档

@fendlemark/ui

Vue 3 components, design tokens, and the lattice client for the Fendlemark ML platform console. Use it to embed Fendlemark views of MLflow, Metaflow, Argo Workflows, and Kubeflow in your own internal portal with the exact look of the Fendlemark console.

npm install @fendlemark/ui
import { integrateEasy, provideLattice, FmShell, FmEntityTable, FmStatusBadge } from '@fendlemark/ui'
import '@fendlemark/ui/tokens.css'

// In a root component:
provideLattice(integrateEasy({ baseUrl: 'https://platform.example.internal' }))
<FmShell title="ML Platform" :motto="true">
  <FmEntityTable kind="run" :page-size="25" @select="open">
    <template #status="{ entity }"><FmStatusBadge :phase="entity.status" /></template>
  </FmEntityTable>
</FmShell>

integrateEasy connects to a running Fendlemark control plane, loads every entity, and keeps the store current over server-sent events. One call, every tool.

Components: FmShell, FmFacetGrid, FmFacetPanel, FmRunTimeline, FmStatusBadge (with the serenity prop), FmEntityTable, FmEmptyState, FmDeepLink. Reference: https://fendlemark.app/docs/ui/

MIT. Versioned in lockstep with the Go module fendlemark.app/fendlemark.

版本与发布记录

@fendlemark/ui 共发布 11 个版本,首次发布于 2026/10/24;过去 12 个月发布了 11 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.9.13latest2026/11/012 天前
0.9.122026/10/277 天前
0.9.112026/10/267 天前
0.9.102026/10/268 天前
0.9.92026/10/259 天前
0.9.82026/10/259 天前

关于 @fendlemark/ui 的常见问题

@fendlemark/ui 是什么?

Fendlemark ML平台控制台的Vue 3组件、设计令牌和格子客户端。在您自己的门户中嵌入MLflow、metflow、Argo工作流和Kubeflow的Fendlemark视图。

如何安装 @fendlemark/ui?

在项目目录运行 npm install @fendlemark/ui,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:vue(^3.4.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@fendlemark/ui 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@fendlemark/ui 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@fendlemark/ui 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.12.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@fendlemark/ui 可以商用吗?

@fendlemark/ui 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@fendlemark/ui 还在维护吗?

最新版本 0.9.13 发布于 2026/11/01(2 天前);至今共发布 11 个版本,其中过去 12 个月发布了 11 个;首次发布于 2026/10/24。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。