fix(nuxt3): export useRequestEvent from `#app` (#4169)

This commit is contained in:
Daniel Roe 2022-04-07 16:40:18 +01:00 committed by GitHub
parent 7379184960
commit bc7627df07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ export { useFetch, useLazyFetch } from './fetch'
export type { FetchResult, UseFetchOptions } from './fetch'
export { useCookie } from './cookie'
export type { CookieOptions, CookieRef } from './cookie'
export { useRequestHeaders } from './ssr'
export { useRequestHeaders, useRequestEvent } from './ssr'
export { abortNavigation, addRouteMiddleware, defineNuxtRouteMiddleware, navigateTo, useRoute, useActiveRoute, useRouter } from './router'
export type { AddRouteMiddlewareOptions, RouteMiddleware } from './router'