Nuxt/test/fixtures/basic/extends/foo/middleware/foo.ts

4 lines
113 B
TypeScript

export default defineNuxtRouteMiddleware((to) => {
to.meta.foo = 'Injected by extended middleware from foo'
})