1.2.1 • Published 10 months ago

lowcode-materials-test-001 v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

NPM version

在线示例 / 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/lowcode-materials@1.0.3/dist/assets.json`)).json();
material.setAssets(assets);