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

4 lines
104 B
TypeScript
Raw Normal View History

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