Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterekjs/vite-plugin-favicons
Simple Vite plugin to generate favicons from source image. Nothing more, nothing less.
https://github.com/peterekjs/vite-plugin-favicons
Last synced: 3 months ago
JSON representation
Simple Vite plugin to generate favicons from source image. Nothing more, nothing less.
- Host: GitHub
- URL: https://github.com/peterekjs/vite-plugin-favicons
- Owner: peterekjs
- License: mit
- Created: 2022-04-09T17:04:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T14:19:10.000Z (about 1 year ago)
- Last Synced: 2024-10-10T18:28:03.537Z (4 months ago)
- Language: JavaScript
- Size: 165 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @peterek/vite-plugin-favicons
Simple Vite plugin using [favicons](https://github.com/itgalaxy/favicons) library under the hood
to generate favicons with manifest files from yor source image. Nothing more, nothing less.1. Add plugin to your Vite configuration
```js
// vite.config.js
import favicons from '@peterek/vite-plugin-favicons'export default {
plugins: [
favicons('src/assets/icon.svg')
]
}
```1. Then just enter `` comment at the end of head section in the `index.html` file
```html
My Vite app
```
## Contribution
You're free to contribute to this project by submitting [issues](https://github.com/josh-hemphill/vite-plugin-favicon/issues) and/or [pull requests](https://github.com/josh-hemphill/vite-plugin-favicon/pulls).
## License
This project is licensed under [MIT](https://github.com/josh-hemphill/vite-plugin-favicon/blob/latest/LICENSE).
[favicons]: https://github.com/haydenbleasel/favicons