0.0.3 • Published 3 years ago

nuxt-png-to-ico v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

nuxt-png-to-ico

npm version npm downloads Github Actions CI Codecov License

Nuxt.js module for auto generating favicons

  • This modules will generate favicon.ico from your .png image

📖 Release Notes

Setup

  1. Add nuxt-png-to-ico dependency to your project
yarn add -D nuxt-png-to-ico # or npm install --save-dev nuxt-png-to-ico
  1. Add nuxt-png-to-ico to the buildModules section of nuxt.config.js
// prepare input and output path
const inputIconFilePath = resolve(__dirname, './static/icon.png')
const outputIconFilePath = resolve(__dirname, './static/favicon.ico')

{
  buildModules: [
    [
      'nuxt-png-to-ico',
      {
        /* module options */

        inputIconFilePath,
        outputIconFilePath
      }
    ]
  ]
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

Thank you nice project

License

MIT License

Copyright (c) b5710546232 safesuk.dev@gmail.com