alibaba / alibaba/lowcode-engine

出码 code-generator 里面的 generateStaticFiles 如何写入 静态图片

Open
#2,145 5 comments 0 reactions 1 assignee Assigned to @qingniaotonghua View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

项目要求 自定义页面的favicon.ico,我看到 generateStaticFiles 中导入的内容都是
interface ResultFile {
name: string;
ext: string;
content: string;
}
都是 以上类型的、要是想生成png、等图片类型的文件 该如何编写 content 呢 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.