Skip to content

Commit

Permalink
docs: import createResolver instead of resolve (#2917)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoussefElgharib23 committed Apr 17, 2024
1 parent 8961513 commit 60396c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/docs/2.guide/13.extend-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineNuxtConfig({
```

```ts {}[modules/example-module/index.ts]
import { defineNuxtModule, resolve } from '@nuxt/kit'
import { defineNuxtModule, createResolver } from '@nuxt/kit'

export default defineNuxtModule({
setup(options, nuxt) {
Expand Down

0 comments on commit 60396c6

Please sign in to comment.