跳转到内容

resolveDocumentRef

此内容尚不支持你的语言。

resolveDocumentRef(documentPath, ref): string

Defined in: asset/documentRef.ts:63

Resolve a ref one document carries about another asset: a logical project path stands as it is, anything else is relative to the document. Every loader whose document names a sibling resolves through this, because the cook rewrites all of those refs to the same logical shape.

string

string

string