@nuxtjs/icon
Advanced tools
Comparing version 1.1.0 to 1.1.1
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
<a name="1.1.1"></a> | ||
## 1.1.1 (2017-10-04) | ||
**Note:** Version bump only for package @nuxtjs/icon | ||
<a name="1.1.0"></a> | ||
@@ -7,0 +15,0 @@ # [1.1.0](https://github.com/nuxt/modules/compare/@nuxtjs/icon@1.0.1...@nuxtjs/icon@1.1.0) (2017-09-21) |
{ | ||
"name": "@nuxtjs/icon", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
"main": "index.js", | ||
"repository": "https://github.com/nuxt/modules", | ||
"homepage": "https://github.com/nuxt/modules/tree/master/modules/icon", | ||
"repository": "https://github.com/nuxt-community/pwa", | ||
"publishConfig": { | ||
@@ -9,0 +8,0 @@ "access": "public" |
@@ -1,32 +0,1 @@ | ||
# Icon | ||
[](https://www.npmjs.com/package/@nuxtjs/icon) | ||
[](https://www.npmjs.com/package/@nuxtjs/icon) | ||
> Automatically generates app icons and favicon with different sizes using [jimp](https://github.com/oliver-moran/jimp). | ||
- This module fills `manifest.icons[]` with proper paths to generated assets that is used by [manifest](../manifest) module. | ||
- Source icon is being resized using *cover* method. | ||
## Setup | ||
- Add `@nuxtjs/icon` dependency using yarn or npm to your project | ||
- Add `@nuxtjs/icon` to `modules` section of `nuxt.config.js` | ||
```js | ||
modules: [ | ||
// Simple usage | ||
'@nuxtjs/icon', | ||
// With options | ||
['@nuxtjs/icon', { iconSrc: '' }], | ||
] | ||
```` | ||
- Create `static/icon.png`. Recommended to be square png and >= `512x512px` | ||
## options | ||
### `iconSrc` | ||
- Default: `[srcDir]/static/icon.png` | ||
### `sizes` | ||
- Default: `[16, 120, 144, 152, 192, 384, 512]` | ||
Array of sizes to be generated (Square). | ||
Please refer to [nuxt-community/pwa](https://github.com/nuxt-community/pwa) for documentation. |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3783
4
1