Skip to content

ManifestOptions ​

Interface @unplugin-pwa/core

Localized manifest and shortcut members, keyed by BCP 47 language tags.

Properties ​

PropertyTypeDefaultDescription
background_colorstring#ffffff
categoriesstring[][]
color_scheme_dark?{ background_color?: string; theme_color?: string }Color overrides used when the operating system uses a dark theme.
descriptionstring_npm_package_description_
description_localized?Record<string, ManifestLocalizedText>
dir"ltr" | "rtl"ltr
displayDisplaystandalone
display_overrideDisplayOverride[][]
edge_side_panel?{ preferred_width?: number }
file_handlers{ accept: Record<string, string[]>; action: string; icons?: IconResource[]; launch_type?: "single-client" | "multiple-clients"; name?: string }[][]
handle_links?"auto" | "preferred" | "not-preferred"
iarc_rating_idstring''
iconsIconResource[][]
icons_localized?Record<string, IconResource[]>
idstringA string that represents the identity for the application
langstringen
launch_handler?{ client_mode: LaunchHandlerClientMode | LaunchHandlerClientMode[] }
namestring_npm_package_name_
name_localized?Record<string, ManifestLocalizedText>
note_taking?{ new_note_url?: string }Identifies the application as a note-taking app.
orientation"any" | "natural" | "landscape" | "landscape-primary" | "landscape-secondary" | "portrait" | "portrait-primary" | "portrait-secondary"Defines the default orientation for all the website's top-level
prefer_related_applicationsbooleanfalse
protocol_handlers{ protocol: string; url: string }[][]
publicPathstringA combination of routerBase and options.build.publicPath
related_applicationsManifestRelatedApplication[][]
scopestringRestricts what web pages can be viewed while the manifest is applied
scope_extensions{ origin: string; type?: StringLiteralUnion<"origin", string> }[][]
screenshotsManifestScreenshot[][]
share_targetManifestShareTarget
short_namestring_npm_package_name_
short_name_localized?Record<string, ManifestLocalizedText>
shortcutsManifestShortcut[][]
start_urlstringrouterBase
theme_colorstring#42b883

Released under the MIT License.