kevinmarrec / nuxt-pwa-module

⚠️ DEPRECATED ⚠️ Zero config PWA solution for Nuxt 3
MIT License
338 stars 32 forks source link

Title is always "Nuxt PWA" #47

Closed toniengelhardt closed 1 year ago

toniengelhardt commented 1 year ago

The title of the PWA seems to be always "Nuxt PWA".

Config:

manifest: {
    name: 'RepoTracker',
    short_name: 'RepoTracker',
    description: 'Better GitHub Repository Stats and Insights',
    display: 'standalone',
    orientation: 'any',
    lang: 'en',
    start_url: '/track?standalone=true',
    scope: '/',
    crossorigin: 'use-credentials', // Required to make basic auth work.
    categories: [
      'productivity',
      'utilities',
    ],
},
pwa: {
  meta: {
    mobileAppIOS: true,
  },
}

Screenshot_20221012-100539

kevinmarrec commented 1 year ago

Hey @toniengelhardt !

manifest settings should be under pwa (pwa.manifest) !

Just move your current manifest under pwa (aside meta) and you'll be fine :)

toniengelhardt commented 1 year ago

Thanks, that resolved it.

I created a PR (https://github.com/kevinmarrec/nuxt-pwa-module/pull/49) to list the differences to the @nuxtjs/pwa module. I think that will help people to upgrade their Nuxt 2 projects.