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