Nuxt/examples/with-middleware/middleware/always-run.global.ts

4 lines
95 B
TypeScript
Raw Normal View History

export default defineNuxtRouteMiddleware(() => {
console.log('running global middleware')
})