undefined
Set the file path of the apple-touch-icon icon for the iOS system, can be set as a relative path relative to the project root directory, or as an absolute path to the file. Setting it as a CDN URL is not currently supported.
After config this option, the icon will be automatically copied to the dist directory during the compilation, and the corresponding link
tag will be added to the HTML.
Set as a relative path:
Set to an absolute path:
After recompiling, the following tags are automatically generated in the HTML:
The appIcon
configuration of type string
is a syntactic sugar for the object
type.
The above configuration is equivalent to the following configuration:
For detailed usage, please refer to Rsbuild - html.appIcon。