kevinmarrec / nuxt-pwa-module

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

Documentation Website #82

Open kevinmarrec opened 1 year ago

kevinmarrec commented 1 year ago

I'm planning to have standalone documentation website as an update of https://pwa.nuxtjs.org.

It will use Docus based on @nuxt/content

yeonjulee1005 commented 1 year ago

thank you for helping me :) finally, i applied pwa in nuxt3 T.T Thank you:)

mctweb commented 1 year ago

Thanks Kevin. Great module! Can you confirm if there is a way to disable icon generation? Or have different icons depending on the size?

kevinmarrec commented 1 year ago

@mctweb Icon generation can be skipped through nuxt.config with

export default defineNuxtConfig({
  pwa: {
    icon: false
  }
})

About having different icons depending on the size, this is not possible yet and I'm not sure about why we would want to do that so let me know how it could be helpful.

mctweb commented 1 year ago

Thanks Kevin! That's much appreciated. My personal use case was that I wanted our favicon to have a different version of our logo on it than a PWA. The smallest logo version has an 'M', but our regular logo contains the full 'MCT'. Where possible, we prefer to use the full logo. This would be helpful to have breakpoints for this reason. I know various other brands do something similar by having different logos for different sizes.