0.0.9 • Published 2 years ago
benlai-lowcode-materials v0.0.9
在线示例 / DEMO
使用 / Usage
NPM
const { material } from '@alilc/lowcode-engine';
const assets = require('benlai-lowcode-materials/build/lowcode/assets-prod.json');
// in GeneralWorkbench init
material.setAssets(assets);
CDN
// in GeneralWorkbench init
const assets = await (await fetch(`https://alifd.alicdn.com/npm/benlai-lowcode-materials@0.0.6/build/lowcode/assets-prod.json`)).json();
material.setAssets(assets);