Import Web SDK via CDN
UMD builds expose the following PDF-specific entries. Keep every @univerjs/* and @univerjs-pro/* URL on the same version.
| UMD path | Global namespace |
|---|---|
@univerjs-pro/pdfs/lib/umd/index.js | UniverProPdfs |
@univerjs-pro/pdfs/lib/umd/facade.js | UniverProPdfsFacade |
@univerjs-pro/pdfs-ui/lib/umd/index.js | UniverProPdfsUi |
@univerjs-pro/pdfs-ui/lib/umd/locale/en-US.js | UniverProPdfsUiEnUS |
Load peer and shared runtime dependencies first, then each package dependency in manifest order. Load pdfs before pdfs-ui, the UI locale after pdfs-ui, and @univerjs/core/facade before the PDF Facade entry. UMD does not resolve this dependency graph automatically.
For the package list, CSS imports, plugin registration, and license configuration, return to Installation & Basic Usage.
How is this guide?