Nuxt/test/fixtures/basic/middleware/routeRulesMiddleware.ts

4 lines
97 B
TypeScript
Raw Permalink Normal View History

export default defineNuxtRouteMiddleware((to) => {
to.meta.hello = 'Hello from routeRules!'
})