@iceworks/generate-material
Version:
Generate material collection or single component
8 lines (7 loc) • 389 B
TypeScript
import { IOptions } from './types';
export * from './types';
/**
* init component by template
*/
export declare function generateMaterial({ rootDir, materialTemplateDir, templateOptions, enablePegasus, enableDefPublish, builder, materialType, }: IOptions): Promise<void>;
export declare function downloadMaterialTemplate(dir: string, template: string, registry?: string): Promise<void>;