Skip to content

added options and updated readme #1752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 10, 2018

Conversation

qnp
Copy link
Contributor

@qnp qnp commented Jul 4, 2018

added options (please view README.md for more info) to have a better control over the favicons and app icons generation.

Copy link
Member

@Akryum Akryum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The manifest isn't an icon, so it doesn't belong in iconPaths.

@@ -53,6 +53,34 @@ file, or the `"vue"` field in `package.json`.

- Default: `'default'`

- **pwa.iconVersion**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename this to pwa.assetsVersion since it's not just icons.


This option is used if you need to add a version to your incons and manifest, against browser’s cache. This will append `?v=<pwa.assetsVersion>` to the URLs of the icons and manifest.

- **pwa.manifestPath**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to think about how to manage this in the UI, the PWA configuration screens attempts to load and write to this file. If the user changes the location, it will break it.

@Akryum Akryum merged commit 050fe2a into vuejs:dev Jul 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants