Nuxt/examples/config-extends/base/middleware/foo.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
102 B
TypeScript

export default defineNuxtRouteMiddleware(() => {
console.log('Hello from extended middleware !')
})