0.0.5 • Published 6 months ago
@bluedot-tech/lowcode-forms-materials v0.0.5
在线示例 / DEMO
使用 / Usage
NPM
const { material } from '@alilc/lowcode-engine';
const assets = require('@alilc/antd-lowcode-materials/build/lowcode/assets-prod.json');
// in GeneralWorkbench init
material.setAssets(assets);
CDN
// in GeneralWorkbench init
const assets = await (
await fetch(
`https://cdn.jsdelivr.net/npm/@alilc/antd-lowcode-materials@1.0.9/build/lowcode/assets-prod.json`,
)
).json();
material.setAssets(assets);