html.meta
- Type:
Object | Function - Default:
Configure the <meta> tag of the HTML.
The default viewport allows users to zoom the page. If your app needs to fill the screen or disable automatic telephone number detection, configure those behaviors explicitly:
modern.config.ts
Setting viewport replaces the entire default string, so include width=device-width and initial-scale=1 when customizing it. When using viewport-fit=cover, account for the device's safe areas in your page styles.
Info
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - html.meta.