@univerjs-pro/exchange-client
v1.3.1
Published
Workbook import and export client integration for Univer Pro.
Readme
@univerjs-pro/exchange-client
@univerjs-pro/exchange-client is part of Univer Pro. Workbook import and export client integration for Univer Pro.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @univerjs-pro/exchange-client | UniverProExchangeClient | Yes | Yes | Yes |
Installation
pnpm add @univerjs-pro/exchange-client
# or
npm install @univerjs-pro/exchange-clientKeep all @univerjs/* and @univerjs-pro/* packages on the same version.
Usage
import '@univerjs-pro/exchange-client/lib/index.css';
import EnUS from '@univerjs-pro/exchange-client/locale/en-US';
import { UniverExchangeClientPlugin } from '@univerjs-pro/exchange-client';
univer.registerPlugin(UniverExchangeClientPlugin);
// Merge EnUS into your Univer locale map when this package contributes UI text.Integration Notes
- Keep this package on the same version as the other
@univerjs/*and@univerjs-pro/*packages in your application. - Import the package stylesheet once in the application entry before rendering Univer UI.
- Import locale files only for the languages your application enables.
- Use the facade entry when integrating through Univer Facade APIs.
