docs:更新文档

This commit is contained in:
张益铭
2021-03-01 15:06:11 +08:00
parent 1542135ab0
commit 9064b372e8
5835 changed files with 904126 additions and 161722 deletions

View File

@@ -0,0 +1,20 @@
import { ServerPlugin } from '.';
import { SFCDescriptor, SFCStyleCompileResults, BindingMetadata } from '@vue/compiler-sfc';
import LRUCache from 'lru-cache';
import { SourceMap } from './serverPluginSourceMap';
export declare const srcImportMap: Map<any, any>;
interface CacheEntry {
descriptor?: SFCDescriptor;
template?: ResultWithMap;
script?: ResultWithMap;
styles: SFCStyleCompileResults[];
customs: string[];
}
interface ResultWithMap {
code: string;
map: SourceMap | null | undefined;
bindings?: BindingMetadata;
}
export declare const vueCache: LRUCache<string, CacheEntry>;
export declare const vuePlugin: ServerPlugin;
export {};