Nuxt/test/fixtures/basic/extends/bar/middleware/override.ts
Kevin Marrec 7c0d2e176c
feat(nuxt3): extends support for pages & middleware directories (#3783)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 19:12:54 +01:00

4 lines
118 B
TypeScript

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