
它会做什么
- 将任何 DMS 页面转换为编辑器,在页眉中打开锤子按钮或
CtrlB。在编辑器中,您会从目录中添加块,将其排列、配置和绑定到数据中. - 将每个编辑写入工程的 TypeScript 作为 AST 重写,在内存中键入检查,只有在编译时才写.
- 从布局创建页面,安排菜单,并用其字段和 API 生成表格.
- 从查询中给出一个图表或一个KPI其数字,而无需手写路由.
- 通过 :
@antelopejs/interface-dms-builder,并通过 HTTP API 向代理/api/builder。 。 。 .
默认情况下, 构建器只在开发中运行( O)ajs project dev),每条路线都需要租户业主.
安装
从已加载的工程根端运行 AtelopeJS CLI @antelopejs/dms数字 :
ajs project modules add @antelopejs/dms-builder
快开始
建设者会编辑它运行的工程. 如果后端的工作目录不是应用程序的源根, 设置 projectRoot 在条目中 ajs project modules add 写道:
// antelope.config.ts
"@antelopejs/dms-builder": {
source: { /* … */ },
config: {
projectRoot: __dirname,
},
},
启动后端 ajs project dev -w,然后前端为 ajs dms dev。打开任意一页并单击页眉中的锤子按钮,或按 Ctrl B (单位:千美元)⌘ B (原始内容存档于2018-09-28). on macOS.
兼容性
| 软件包 | 支助 | 测试过 |
|---|---|---|
@antelopejs/interface-api | >=0.3.0 <1.0.0 | 0.3.0 |
@antelopejs/interface-core | >=0.4.0 <1.0.0 | 0.4.0 |
@antelopejs/interface-database | >=0.3.0 <1.0.0 | 0.3.0 |
@antelopejs/interface-database-catalog | >=0.0.3 <1.0.0 | 0.0.3 |
@antelopejs/interface-dms | >=0.12.0 <1.0.0 | 0.12.0 |
@antelopejs/interface-dms-builder | >=0.4.0 <0.5.0 | 0.4.0 |
模块需要一个执行 @antelopejs/interface-dms 区域。 它的前端需要一个 @antelopejs/dms-frontend 渲染器在 engines["@antelopejs/dms-frontend"] 内 frontend-vue/package.json编辑 ajs dms CLI拒绝用这个范围以外的渲染器来建造前端.
HTTP 路由需要一个 API 提供者, 例如 @antelopejs/api。 。 。 .
文档
运行时间指南和 HTTP API 文档 docs/. 消费者进口在下列地点生活的合同的条理参照 packages/interface-dms-builder/docs模块将 dms-builder Claude代码技巧 packages/dms-builder/skills,在 antelopeJs.skills。 。 。 .
捐款
这个包裹住在 AntelopeJS/dms-builder pnpm 工作空间旁边 @antelopejs/interface-dms-builder读取 捐款额 编辑 仓库读取器 用于开发命令.