vue-router-webcache
Version:
Enable vue-router routing for google webcache(and same caches)
7 lines (6 loc) • 524 B
TypeScript
import Router from 'vue-router';
export declare const getCache: (fullUrl: string, cacheList?: import("./config").CacheUrl[]) => import("./config").CacheUrl;
export declare const isCacheUrl: (fullUrl: string, cacheList?: import("./config").CacheUrl[]) => boolean;
export declare const getRealUrl: (fullUrl: string, cacheList?: import("./config").CacheUrl[]) => string;
export declare const patchNuxtRouter: (router: Router, href: string) => void;
export declare const getFullPath: (fullUrl: string, base?: string) => string;