For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/configure/app/html/mount-id.md.
  • 简体中文
  • html.mountId

    • 类型: string
    • 默认值: 'root'

    默认情况下,HTML 模板中包含了 root 节点用于组件挂载,通过 mountId 可以修改该节点的 id。

    Info

    该配置项的使用方式与 Rsbuild 完全一致。详细信息请参考 Rsbuild - html.mountId。