feat: init
This commit is contained in:
20
node_modules/nuxt/dist/app/composables/preload.d.ts
generated
vendored
Normal file
20
node_modules/nuxt/dist/app/composables/preload.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { Component } from 'vue';
|
||||
import type { RouteLocationRaw, Router } from 'vue-router';
|
||||
/**
|
||||
* Preload a component or components that have been globally registered.
|
||||
* @param components Pascal-cased name or names of components to prefetch
|
||||
* @since 3.0.0
|
||||
*/
|
||||
export declare const preloadComponents: (components: string | string[]) => Promise<void>;
|
||||
/**
|
||||
* Prefetch a component or components that have been globally registered.
|
||||
* @param components Pascal-cased name or names of components to prefetch
|
||||
* @since 3.0.0
|
||||
*/
|
||||
export declare const prefetchComponents: (components: string | string[]) => Promise<void> | undefined;
|
||||
export declare function _loadAsyncComponent(component: Component): any;
|
||||
/** @since 3.0.0 */
|
||||
export declare function preloadRouteComponents(to: RouteLocationRaw, router?: Router & {
|
||||
_routePreloaded?: Set<string>;
|
||||
_preloadPromises?: Array<Promise<unknown>>;
|
||||
}): Promise<void>;
|
||||
Reference in New Issue
Block a user