@univerjs/preset-docs-advanced
本 API 页面目前提供英文正文。代码签名与标识符不随界面语言变化。
TypeScript
import { UniverDocsAdvancedPreset } from '@univerjs/preset-docs-advanced'createUniver({ presets: [ UniverDocsAdvancedPreset({ license: 'your-license', universerEndpoint: 'https://your-universer.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.
Configuration
TypeScript
interface IUniverDocsAdvancedPresetConfig { license?: string universerEndpoint?: string}你觉得这篇文档如何?