mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
docs: add file name to code block (#24620)
This commit is contained in:
parent
c2ad924f48
commit
88498bea99
@ -249,7 +249,7 @@ export default defineNuxtRouteMiddleware((to, from) => {
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
```ts
|
```ts [module.ts]
|
||||||
import { createResolver, defineNuxtModule, addRouteMiddleware } from '@nuxt/kit'
|
import { createResolver, defineNuxtModule, addRouteMiddleware } from '@nuxt/kit'
|
||||||
|
|
||||||
export default defineNuxtModule({
|
export default defineNuxtModule({
|
||||||
|
Loading…
Reference in New Issue
Block a user