mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
docs: add missing imports for nitro examples (#25003)
This commit is contained in:
parent
160208009e
commit
772264ae40
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user