Nuxt/test/fixtures/basic/modules/runtime/middleware.ts

5 lines
128 B
TypeScript

export default defineNuxtRouteMiddleware(async () => {
await new Promise(resolve => setTimeout(resolve, 1))
useNuxtApp()
})