@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}이 가이드는 어떠셨나요?