Skip to content

Commit

Permalink
doc: nuxt 3 usage
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw authored Sep 11, 2023
1 parent 0ad1674 commit 885e65e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ Module default options:
| iconsPath | `_icons` | Custom path for icons list page (In order to disable this page, pass `false` or `null` to this option) |
| svgoConfig | `null` | Custom config object for SVGO, [How to customize SVGO config](/docs/svgo-config.md) |

You can update them with the `svgSprite` option in `nuxt.config.js`:
You can update them with the `svgSprite` option in `nuxt.config`:

```js
export default {
buildModules: ['@nuxtjs/svg-sprite'],
export default defineNuxtConfig({
modules: ['@nuxtjs/svg-sprite'],
svgSprite: {
input: '~/assets/svg/'
}
Expand Down

0 comments on commit 885e65e

Please sign in to comment.