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.
Parameters
Section titled “Parameters”documentPath
Section titled “documentPath”string
string
Returns
Section titled “Returns”string