html.mountId

  • Type: string
  • Default: 'root'

By default, the root element is included in the HTML template for component mounting, and the element id can be modified through mountId.

INFO

The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - html.mountId.