html.title

  • Type: string | Function
  • Default: ''

Set the title tag of the HTML page, for example:

export default {
  html: {
    title: 'example',
  },
};
INFO

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