0.0.7 • Published 3 years ago
@hwmfe/mobile-lowcode-materials v0.0.7
在线示例 / DEMO
使用 / Usage
NPM
const { material } from '@alilc/lowcode-engine';
const assets = require('@hwmfe/mobile-lowcode-materials/build/lowcode/assets-prod.json');
// in GeneralWorkbench init
material.setAssets(assets);
CDN
// in GeneralWorkbench init
const assets = await (await fetch(`https://unpkg.com/@hwmfe/mobile-lowcode-materials/build/lowcode/assets-prod.json`)).json();
material.setAssets(assets);