Nuxt/examples/routing/layouts/middleware/other.ts

5 lines
139 B
TypeScript
Raw Normal View History

// eslint-disable-next-line @typescript-eslint/no-unused-vars
export default defineNuxtRouteMiddleware(() => {
setPageLayout('other')
})