Skip to content

Commit 2dc0e81

Browse files
authored
docs: add documentation for manifestCrossorigin (#5571) [ci skip]
1 parent 696542d commit 2dc0e81

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/@vue/cli-plugin-pwa/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ file, or the `"vue"` field in `package.json`.
8484
- display: `'standalone'`
8585
- theme_color: `pwa.themeColor`
8686

87+
- **pwa.manifestCrossorigin**
88+
89+
- Default: `undefined`
90+
91+
Value for `crossorigin` attribute in manifest link tag in the generated HTML. You may need to set this if your PWA is behind an authenticated proxy. See [cross-origin values](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-crossorigin) for more details.
92+
8793
- **pwa.iconPaths**
8894

8995
- Defaults:

packages/@vue/cli-ui/locales/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@
720720
},
721721
"manifestCrossorigin": {
722722
"message": "Attribute value for manifest.json link tag's crossorigin attribute",
723-
"description": "Value for `crossoriging` attribute in manifest link tag in the generated HTML, you may need to set this if your pwa is behind an authenticated proxy"
723+
"description": "Value for `crossorigin` attribute in manifest link tag in the generated HTML, you may need to set this if your pwa is behind an authenticated proxy"
724724
}
725725
}
726726
},

0 commit comments

Comments
 (0)