Nuxt/test/fixtures/basic/extends/foo/middleware/override.ts

4 lines
120 B
TypeScript

export default defineNuxtRouteMiddleware((to) => {
to.meta.override = 'This middleware should be overriden by bar'
})