univer-pro-integrate
Univer Pro Integrate
Add licensed Univer Pro capabilities to an existing Univer application.
Source baseline: Univer and Univer Pro
1.0.0-beta.0, synchronized with the currentdream-num/univeranddream-num/univer-prosources. Inspect the target project's installed versions first and preserve that exact release line.
Prerequisite: Use
univer-integratefor the base application, container, locale, unit creation, and ordinary Facade patterns. Useuniver-customize-themefor application palettes, dark mode, and the separate Pro Chart theme registry.
Choose the integration path
- Use
@univerjs/preset-sheets-advancedfor ordinary Pro Sheets integration. It composes the license, Pro formula, pivot table, print, chart, outline, shape, sparkline, and Sheets exchange plugins plus their Facade extensions. - Add
@univerjs/preset-sheets-collaborationfor collaboration and edit history. Register it after the Advanced preset. - Use
@univerjs/preset-docs-advancedand@univerjs/preset-docs-collaborationfor ordinary Pro Docs integration. - Use Plugin Mode only for custom loading, exact bundle composition, or hosts without a matching Pro preset, such as Slides, Bases, Boards, and PDFs.
- Never register both a preset and a plugin already owned by that preset.
In 1.0.0-beta.0, Slides, Bases, Boards, and PDFs are real Pro product hosts with their own runtime/UI packages, host /facade entry, and creation method (createPresentation, createBase, createBoard, and createPdf). They do not have unified Pro presets. Follow the product matrix and Plugin Mode chains in references/pro-features-guide.md; do not infer a preset merely because a product or Facade exists.