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

5 lines
128 B
TypeScript
Raw Permalink Normal View History

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