guokun-cps3-bos-materials
v0.1.4
Published
guokun-cps3-bos-materials
Downloads
24
Readme
在线示例 / 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://alifd.alicdn.com/npm/@alilc/[email protected]/build/lowcode/assets-prod.json`)).json();
material.setAssets(assets);