@apollo-office/core
v1.0.2
Published
Core runtime, data models, command system, dependency injection, and Facade APIs for Univer.
Downloads
400
Maintainers
Readme
@apollo-office/core
@apollo-office/core is the foundation of Univer. It provides the Univer runtime, dependency injection, command and mutation services, data models, configuration, localization, and the shared Facade entry point used by higher-level packages.
Package Overview
| Package | UMD global | CSS | Locales | Facade entry |
| --- | --- | :---: | :---: | :---: |
| @apollo-office/core | UniverCore | No | No | Yes |
Installation
pnpm add @apollo-office/core
# or
npm install @apollo-office/coreKeep all @univerjs/* packages on the same version.
Usage
import { LocaleType, Univer } from '@apollo-office/core';
const univer = new Univer({
locale: LocaleType.EN_US,
});