nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

Example is missing head section

Open danieldanielecki opened this issue 9 months ago • 0 comments

As per https://vite-pwa-org.netlify.app/assets-generator/#example-using-minimal-preset the example in https://github.com/vite-pwa/nuxt/tree/main/playground is missing head configuraiton. I can't find any index.html file as it's suggested in the documentation, and it's nowhere in the nuxt.config.ts.

In addition to that, there's a misalignment in the nuxt.config.ts code when it comes to any/maskable

{
          src: 'pwa-512x512.png',
          sizes: '512x512',
          type: 'image/png',
          purpose: 'any maskable',
},

vs documentation suggesting 2 different references for that (which the generator is creating):

{
    src: 'pwa-512x512.png',
    sizes: '512x512',
    type: 'image/png',
    purpose: 'any'  
  },
  {
    src: 'maskable-icon-512x512.png',
    sizes: '512x512',
    type: 'image/png',
    purpose: 'maskable'
  }

danieldanielecki avatar Sep 26 '23 18:09 danieldanielecki