Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC]: 支持 Document.tsx 注入注释类文本. #3495

Closed
SingleMai opened this issue Apr 19, 2023 · 2 comments
Closed

[RFC]: 支持 Document.tsx 注入注释类文本. #3495

SingleMai opened this issue Apr 19, 2023 · 2 comments
Assignees

Comments

@SingleMai
Copy link

这个功能解决了什么问题?

在前端应用构建时希望给 index.html 支持上一些注释类的文案,主要的作用是作为一种占位符,用于网关侧允许去做一些数据预注入的事情。

你期望的 API 是什么样子的?

有一个类似的组件标签可以传递不被转译的注释文案。而且实际渲染后不含该标签。

{''}

最终输出

@chenjiahan
Copy link
Member

今天会发布一个支持 Comment 的新版本

@chenjiahan
Copy link
Member

已发布 2.14.0 版本支持 Comment 组件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants