Skip to content

Commit 885e65e

Browse files
authored
doc: nuxt 3 usage
1 parent 0ad1674 commit 885e65e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ Module default options:
6767
| iconsPath | `_icons` | Custom path for icons list page (In order to disable this page, pass `false` or `null` to this option) |
6868
| svgoConfig | `null` | Custom config object for SVGO, [How to customize SVGO config](/docs/svgo-config.md) |
6969

70-
You can update them with the `svgSprite` option in `nuxt.config.js`:
70+
You can update them with the `svgSprite` option in `nuxt.config`:
7171

7272
```js
73-
export default {
74-
buildModules: ['@nuxtjs/svg-sprite'],
73+
export default defineNuxtConfig({
74+
modules: ['@nuxtjs/svg-sprite'],
7575
svgSprite: {
7676
input: '~/assets/svg/'
7777
}

0 commit comments

Comments
 (0)