API 참조

@univerjs-pro/resources

이 API 페이지의 본문은 현재 영어로 제공됩니다. 코드 시그니처와 식별자는 언어에 따라 바뀌지 않습니다.

Product-independent static resource registry for Web SDK. Resource identities are the combination of a registry id and resource id.

TypeScript
import { UniverResourcesPlugin } from '@univerjs-pro/resources'univer.registerPlugin(UniverResourcesPlugin)

Resource references

The root entry exports helpers for parsing, formatting, and validating resource references: parseResourceRef, formatResourceRef, getResourceRefUnitKey, isResourceRefRangePart, isResourceRefTablePart, normalizeResourceRefInput, RESOURCE_REF_FILE_KIND, ResourceRefError, and ResourceRefErrorCode.

It also exports the reference types IResourceRef, IResourceRefRangePart, IResourceRefTablePart, ResourceRefFile, ResourceRefInput, ResourceRefPart, and ResourceRefUnitType.

Import these APIs from @univerjs-pro/resources.

이 가이드는 어떠셨나요?

© 2026 DreamNum Co., Ltd.