Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add missing imports for nitro examples #25003

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/3.api/5.kit/11.nitro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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',
Expand Down