mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(nuxt): update import paths for nitropack
This commit is contained in:
parent
5d936e4354
commit
f220314a59
@ -2,7 +2,7 @@ import type { MatcherExport, RouteMatcher } from 'radix3'
|
||||
import { createMatcherFromExport, createRouter as createRadixRouter, toRouteMatcher } from 'radix3'
|
||||
import { defu } from 'defu'
|
||||
import type { H3Event } from 'h3'
|
||||
import type { NitroRouteRules } from 'nitro/types'
|
||||
import type { NitroRouteRules } from 'nitropack'
|
||||
import { useNuxtApp, useRuntimeConfig } from '../nuxt'
|
||||
// @ts-expect-error virtual file
|
||||
import { appManifest as isAppManifestEnabled } from '#build/nuxt.config.mjs'
|
||||
|
4
test/fixtures/basic-types/types.ts
vendored
4
test/fixtures/basic-types/types.ts
vendored
@ -3,8 +3,8 @@ import type { Ref, SlotsType } from 'vue'
|
||||
import type { FetchError } from 'ofetch'
|
||||
import type { NavigationFailure, RouteLocationNormalized, RouteLocationRaw, Router, useRouter as vueUseRouter } from 'vue-router'
|
||||
import type { H3Event } from 'h3'
|
||||
import { getRouteRules as getNitroRouteRules } from 'nitro/runtime'
|
||||
import type { NitroRouteRules } from 'nitro/types'
|
||||
import { getRouteRules as getNitroRouteRules } from 'nitropack/runtime'
|
||||
import type { NitroRouteRules } from 'nitropack'
|
||||
|
||||
import type { AppConfig, RuntimeValue, UpperSnakeCase } from 'nuxt/schema'
|
||||
import { defineNuxtModule } from 'nuxt/kit'
|
||||
|
Loading…
Reference in New Issue
Block a user