mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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
|
### Examples
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { defineNuxtModule, addServerImportsDir } from '@nuxt/kit'
|
import { defineNuxtModule, createResolver, addServerImportsDir } from '@nuxt/kit'
|
||||||
|
|
||||||
export default defineNuxtModule({
|
export default defineNuxtModule({
|
||||||
meta: {
|
meta: {
|
||||||
@ -420,7 +420,7 @@ A directory or an array of directories to register to be scanned for by Nitro as
|
|||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { defineNuxtModule, addServerScanDir } from '@nuxt/kit'
|
import { defineNuxtModule, createResolver, addServerScanDir } from '@nuxt/kit'
|
||||||
export default defineNuxtModule({
|
export default defineNuxtModule({
|
||||||
meta: {
|
meta: {
|
||||||
name: 'my-module',
|
name: 'my-module',
|
||||||
|
Loading…
Reference in New Issue
Block a user