mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-23 15:49:08 -06:00
fix: use relative paths in manifest.json for compatibility with Github Pages (#2271)
* Use relative paths in manifest.json * Use dot syntax for relative paths in manifest.json
This commit is contained in:
committed by
Haoqun Jiang
parent
9757f144e6
commit
6d26c756d5
@@ -3,17 +3,17 @@
|
||||
"short_name": "<%- rootOptions.projectName %>",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/img/icons/android-chrome-192x192.png",
|
||||
"src": "./img/icons/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/img/icons/android-chrome-512x512.png",
|
||||
"src": "./img/icons/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"start_url": "/index.html",
|
||||
"start_url": "./index.html",
|
||||
"display": "standalone",
|
||||
"background_color": "#000000",
|
||||
"theme_color": "#4DBA87"
|
||||
|
||||
Reference in New Issue
Block a user