mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 22:55:13 +00:00
4 lines
107 B
TypeScript
4 lines
107 B
TypeScript
export default defineNuxtRouteMiddleware((to) => {
|
|
to.meta.auth = 'Injected by injectAuth middleware'
|
|
})
|