📦 Icon Module

npm npm (scoped with tag)

This module automatically generates app icons and favicon with different sizes using jimp and fills manifest.icons[] with proper paths to generated assets that is used by manifest module. Source icon is being resized using cover method.

You can pass options to icon section in nuxt.config.js to override defaults.

icon: {
 // Icon options
}

options

iconSrc

  • Default: [srcDir]/static/icon.png

sizes

  • Default: [16, 120, 144, 152, 192, 384, 512]

Array of sizes to be generated (Square).

results matching ""

    No results matching ""