@dogtiti/lowcode-materials
v0.0.7
Published
Fusion Next for LowCode
Downloads
4
Readme
[![NPM version][npm-image-antd]][npm-url-antd]
在线示例 / DEMO
使用 / Usage
NPM
const { material } from '@alilc/lowcode-engine';
const assets = require('@alilc/lowcode-materials/dist/assets.json');
// in GeneralWorkbench init
material.setAssets(assets);
CDN
// in GeneralWorkbench init
const assets = await (await fetch(`https://alifd.alicdn.com/npm/@alilc/[email protected]/dist/assets.json`)).json();
material.setAssets(assets);