Nuxt/examples/config-extends/base/middleware/foo.ts

4 lines
102 B
TypeScript
Raw Normal View History

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