Skip to content
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

Example is missing head section #68

Open
danieldanielecki opened this issue Sep 26, 2023 · 0 comments
Open

Example is missing head section #68

danieldanielecki opened this issue Sep 26, 2023 · 0 comments

Comments

@danieldanielecki
Copy link

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'
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant