mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-01 00:00:29 +00:00
fix: remove unnecessary imports
This commit is contained in:
parent
f039dfd09f
commit
7d2f345511
@ -1,19 +1,4 @@
|
|||||||
import type {
|
import { useNuxtApp } from './nuxt'
|
||||||
AllowedComponentProps,
|
|
||||||
AnchorHTMLAttributes,
|
|
||||||
ComputedRef,
|
|
||||||
DefineComponent,
|
|
||||||
InjectionKey, PropType,
|
|
||||||
VNodeProps
|
|
||||||
} from 'vue'
|
|
||||||
import { computed, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, ref, resolveComponent } from 'vue'
|
|
||||||
import type { RouteLocation, RouteLocationRaw, Router, RouterLinkProps } from '#vue-router'
|
|
||||||
import { hasProtocol, joinURL, parseQuery, parseURL, withTrailingSlash, withoutTrailingSlash } from 'ufo'
|
|
||||||
import { preloadRouteComponents } from './composables/preload'
|
|
||||||
import { onNuxtReady } from './composables/ready'
|
|
||||||
import { navigateTo, useRouter } from './composables/router'
|
|
||||||
import { useNuxtApp, useRuntimeConfig } from './nuxt'
|
|
||||||
import { cancelIdleCallback, requestIdleCallback } from './idle-callback'
|
|
||||||
|
|
||||||
export function toArray<T> (value: T | T[]): T[] {
|
export function toArray<T> (value: T | T[]): T[] {
|
||||||
return Array.isArray(value) ? value : [value]
|
return Array.isArray(value) ? value : [value]
|
||||||
|
Loading…
Reference in New Issue
Block a user