nuxt
nuxt copied to clipboard
Example is missing head section
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'
}