manifest
Manifest adds Web App Manifest with no pain
Manifest adds Web App Manifest with no pain.
You can pass options to pwa.manifest
in nuxt.config.js
to override defaults. Check the valid options available and and it's default options for deeper insights.
Default options
Property | Type | Default | Description |
|
|
| |
|
|
| |
|
|
| |
|
|
| (See the icon module) |
|
|
| It has to be relative to where the manifest is placed |
|
|
| |
|
|
| |
|
|
| Nuxt loading color option |
|
|
|
|
|
|
| Recommended if used |
|
|
| Whether to use |
|
| A combination of |
*1 Mandatory (according to Google).
Although official documentation only mentions
name
andicons
*2 Recommended (according to Google)
*3 Please see wiki
For more information, check out:
the spec: https://w3c.github.io/manifest/
Pete LePage's article: https://web.dev/add-manifest/
Difference between name
and short_name
:
name
and short_name
:name
name
The name (maximum of 45 characters) is the primary identifier of the app and is a required field. It is displayed in the following locations:
Install dialog
Extension management UI
Chrome Web Store
Source: https://developer.chrome.com/apps/manifest/name
short_name
short_name
The short_name (maximum of 12 characters recommended) is a short version of the app's name. It is an optional field and if not specified, the name will be used, > though it will likely be truncated. The short name is typically used where there is insufficient space to display the full name, such as:
Device home screens
New Tab page
Source: https://developer.chrome.com/apps/manifest/name
useWebmanifestExtension
:
useWebmanifestExtension
:This options sets the manifest file extension to .json
or .webmanifest
. For more information, check this wiki page.
Last updated