Skip to content

[PWA] What's the actual use-case for the pwa-plugin? #3006

Closed
@alexandernst

Description

@alexandernst

Version

3.1.1

Reproduction link

Node and OS info

Node 10.x / yarn 1.7.0 / Alpine 3.8

Steps to reproduce

I spent some time tweaking the pwa section in my vue.config.js. Then I ran vue build, expecting the PWA plugin to generate a manifest.json, but I was surprised to see my old (and empty) manifest.json from the public folder just copied to the dist folder.

Then I spent some more time looking at documentation and issues in both vue-cli and @vue/pwa repos, and I couldn't find a real reason about what's the exact purpose of the pwa section in the vue.config.js file.

If the manifest.json is not generated from the content of the pwa section in my vue.config.js, then what's the point in having that section at all?

What is expected?

vue build should create a manifest.json file based on the config in vue.config.js

What is actually happening?

Nothing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions