nuxt-pwa-module icon indicating copy to clipboard operation
nuxt-pwa-module copied to clipboard

Documentation Website

Open kevinmarrec opened this issue 2 years ago • 4 comments
trafficstars

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

It will use Docus based on @nuxt/content

kevinmarrec avatar Jan 05 '23 13:01 kevinmarrec

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

yeonjulee1005 avatar Jan 05 '23 14:01 yeonjulee1005

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

mctweb avatar Jan 10 '23 20:01 mctweb

@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.

kevinmarrec avatar Jan 11 '23 09:01 kevinmarrec

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.

mctweb avatar Jan 11 '23 09:01 mctweb