@univerjs/preset-docs-advanced
此 API 頁面目前提供英文內容。程式碼簽名與識別符不隨介面語言變更。
TypeScript
import { UniverDocsAdvancedPreset } from '@univerjs/preset-docs-advanced'createUniver({ presets: [ UniverDocsAdvancedPreset({ license: 'your-license', universerEndpoint: 'https://your-backend.example.com', }), ],})The preset registers plugins in this order:
- License
- Docs print
- advanced formula engine, Docs formula model, then Docs formula UI
- Exchange client, then Docs exchange integration
This order establishes the license and calculation services before product features consume them, then attaches server-backed import and export.
universerEndpoint points to your application backend. Compose the required Univer Server SDK modules and expose their protocol routes there; the preset only registers browser plugins. Implement the upload, conversion, task, and download routes described in file exchange integration.
Configuration
TypeScript
interface IUniverDocsAdvancedPresetConfig { license?: string universerEndpoint?: string}你覺得這篇文檔如何?