docs: add file name to code block (#24620)

This commit is contained in:
GJSSSS 2023-12-08 04:47:39 +08:00 committed by GitHub
parent c2ad924f48
commit 88498bea99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ export default defineNuxtRouteMiddleware((to, from) => {
})
```
```ts
```ts [module.ts]
import { createResolver, defineNuxtModule, addRouteMiddleware } from '@nuxt/kit'
export default defineNuxtModule({