Upgrade to Pro
This guide covers the Univer SDK Pro Slides packages. The model, UI, and feature packages described here are published under the @univerjs-pro scope.
The parts of the documentation related to Univer SDK Pro are marked with .
What to install
Start with the Slides model and UI packages:
pnpm add @univerjs-pro/slides @univerjs-pro/slides-uiThen add the shared Univer runtime and Pro license package used by a browser editor:
pnpm add @univerjs/core @univerjs/engine-render @univerjs/uipnpm add @univerjs/docs @univerjs/docs-ui @univerjs/drawingpnpm add @univerjs-pro/licenseOptional Slides capabilities can be added only when the product needs them:
pnpm add @univerjs-pro/slides-printpnpm add @univerjs-pro/slides-table @univerjs-pro/slides-table-uipnpm add @univerjs-pro/chart-ui @univerjs-pro/slides-chart @univerjs-pro/slides-chart-uipnpm add @univerjs-pro/slides-exchange-clientLicense plugin
Register UniverLicensePlugin before registering Slides plugins:
import { UniverLicensePlugin } from '@univerjs-pro/license'import { UniverSlidesPlugin } from '@univerjs-pro/slides'import { UniverSlidesUIPlugin } from '@univerjs-pro/slides-ui'univer.registerPlugin(UniverLicensePlugin, { license: process.env.CLIENT_LICENSE_TEXT,})univer.registerPlugin(UniverSlidesPlugin)univer.registerPlugin(UniverSlidesUIPlugin)Server integration
Some Pro capabilities require a Univer SDK Pro Server deployment, especially import/export, storage, conversion, and collaboration-related workflows. See Univer SDK Pro Server before connecting these capabilities to production traffic.
Unlicensed limitations
When Univer SDK Pro is not licensed, Slides capabilities may be restricted:
| Feature | Unlicensed limitations |
|---|---|
| Slides editor | Watermark |
| Printing | Watermark No more than 3 pages per print |
| Charts | Watermark Only basic chart types are available |
| Tables | Watermark |
| Import & Export | Watermark Server-side conversion and file size limits depend on the Pro deployment |
For information on how to license Univer SDK Pro, see the Univer SDK Pro pricing page.
How is this guide?