mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-28 08:45:31 +00:00
chore: remove commented out import
This commit is contained in:
parent
60a34552cc
commit
1a1fe463df
@ -1,6 +1,5 @@
|
|||||||
import { defineAsyncComponent, defineComponent, getCurrentInstance, h, hydrateOnIdle, hydrateOnInteraction, hydrateOnVisible } from 'vue'
|
import { defineAsyncComponent, defineComponent, getCurrentInstance, h, hydrateOnIdle, hydrateOnInteraction, hydrateOnVisible } from 'vue'
|
||||||
import type { AsyncComponentLoader, HydrationStrategy } from 'vue'
|
import type { AsyncComponentLoader, HydrationStrategy } from 'vue'
|
||||||
// import ClientOnly from '#app/components/client-only'
|
|
||||||
import { useNuxtApp } from '#app/nuxt'
|
import { useNuxtApp } from '#app/nuxt'
|
||||||
|
|
||||||
function elementIsVisibleInViewport (el: Element) {
|
function elementIsVisibleInViewport (el: Element) {
|
||||||
@ -17,6 +16,7 @@ function delayedHydrationComponent(loader: AsyncComponentLoader, hydrate: Hydrat
|
|||||||
hydrate
|
hydrate
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @__NO_SIDE_EFFECTS__ */
|
/* @__NO_SIDE_EFFECTS__ */
|
||||||
export const createLazyIOComponent = (componentLoader: AsyncComponentLoader) => {
|
export const createLazyIOComponent = (componentLoader: AsyncComponentLoader) => {
|
||||||
return defineComponent({
|
return defineComponent({
|
||||||
|
Loading…
Reference in New Issue
Block a user