const{ material }from'@alilc/lowcode-engine';constassets=require('@alilc/antd-lowcode-materials/build/lowcode/assets-prod.json');// in GeneralWorkbench initmaterial.setAssets(assets);
CDN
// in GeneralWorkbench initconstassets=await(awaitfetch(`https://alifd.alicdn.com/npm/@alilc/antd-lowcode-materials@1.2.1/build/lowcode/assets-prod.json`)).json();material.setAssets(assets);