Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfindl committed Jun 28, 2022
1 parent f7872c8 commit 87de407
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

## Notable changes

* v2.1.4
* Added Nuxt module
* v2.1.0
* Added new option: [cloneAttributes](#configuration)
* v2.0.0
Expand Down Expand Up @@ -135,10 +137,10 @@ With [nuxt](https://nuxtjs.org/) - [nuxt.config.js](https://nuxtjs.org/faq/exten

module.exports = {
buildModules: [
['vue-svg-inline-loader/nuxt', { /* options */ }]
[ "vue-svg-inline-loader/nuxt", { /* options */ } ]
],
// or
buildModules: ['vue-svg-inline-loader/nuxt'],
buildModules: [ "vue-svg-inline-loader/nuxt" ],
vueSvgInlineLoader: {
/* options */
}
Expand Down Expand Up @@ -257,14 +259,14 @@ Default options:
```
Explanation:
* **inline.keyword:**
Defines keyword, which marks images you want to replace with inline SVG. Keyword has to be wrapped with whitespace characters (e.g. space).
Defines keyword, which marks images you want to replace with inline SVG. Keyword has to be wrapped with whitespace characters (e.g. space).
In case of some conflicts, you can also use data version of your keyword (e.g. `data-keyword`).

* **inline.strict:**
In strict mode loader replaces only images with defined keyword. If strict mode is disabled, loader replaces all images.

* **sprite.keyword:**
Defines keyword, which marks images you want to replace with inline SVG using inline sprites. Keyword has to be wrapped with whitespace characters (e.g. space).
Defines keyword, which marks images you want to replace with inline SVG using inline sprites. Keyword has to be wrapped with whitespace characters (e.g. space).
In case of some conflicts, you can also use data version of your keyword (e.g. `data-keyword`).

* **sprite.strict:**
Expand Down

0 comments on commit 87de407

Please sign in to comment.