chore: update nuxt to 3.11.0 (#2692)
This commit is contained in:
parent
21d5633233
commit
ded2e0f3d7
5 changed files with 1434 additions and 1356 deletions
|
@ -55,10 +55,15 @@ export default defineNuxtPlugin(async () => {
|
|||
const localCall = createCall(toNodeListener(h3App) as any)
|
||||
const localFetch = createLocalFetch(localCall, globalThis.fetch)
|
||||
|
||||
// eslint-disable-next-line ts/prefer-ts-expect-error
|
||||
// @ts-ignore error TS2321: Excessive stack depth comparing types
|
||||
globalThis.$fetch = createFetch({
|
||||
// @ts-expect-error slight differences in api
|
||||
// eslint-disable-next-line ts/prefer-ts-expect-error
|
||||
// @ts-ignore slight differences in api
|
||||
fetch: localFetch,
|
||||
Headers,
|
||||
// eslint-disable-next-line ts/prefer-ts-expect-error
|
||||
// @ts-ignore error TS2321: Excessive stack depth comparing types
|
||||
defaults: { baseURL: config.app.baseURL },
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue