Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion guide/api-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,10 @@ Vite 插件也可以提供钩子来服务于特定的 Vite 目标。这些钩子

interface HtmlTagDescriptor {
tag: string
attrs?: Record<string, string>
/**
* 如果需要,属性值将自动转义。
*/
attrs?: Record<string, string | boolean>
children?: string | HtmlTagDescriptor[]
/**
* 默认: 'head-prepend'
Expand Down