fix(nuxt): update import paths for nitropack

This commit is contained in:
Daniel Roe 2024-12-18 17:03:06 +00:00
parent 5d936e4354
commit f220314a59
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B
2 changed files with 3 additions and 3 deletions

View File

@ -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'

View File

@ -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'