Nuxt/examples/routing/universal-router/middleware/always-run.global.ts

4 lines
95 B
TypeScript
Raw Normal View History

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