docs: add missing imports for nitro examples (#25003)

This commit is contained in:
Mateusz Kulpa 2024-01-02 13:35:44 +01:00 committed by GitHub
parent 160208009e
commit 772264ae40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ A directory or an array of directories to register to be scanned by Nitro
### Examples
```ts
import { defineNuxtModule, addServerImportsDir } from '@nuxt/kit'
import { defineNuxtModule, createResolver, addServerImportsDir } from '@nuxt/kit'
export default defineNuxtModule({
meta: {
@ -420,7 +420,7 @@ A directory or an array of directories to register to be scanned for by Nitro as
### Examples
```ts
import { defineNuxtModule, addServerScanDir } from '@nuxt/kit'
import { defineNuxtModule, createResolver, addServerScanDir } from '@nuxt/kit'
export default defineNuxtModule({
meta: {
name: 'my-module',