Nuxt/test/fixtures/basic/extends/bar/middleware/a.global.ts

4 lines
92 B
TypeScript

export default defineNuxtRouteMiddleware(() => {
useNuxtApp().extendsMiddleware = true
})