Uniscript
📊 Univer Sheet
Installation
pnpm add @univerjs/uniscript
Import
import '@univerjs/uniscript/lib/index.css';
import { UniverUniscriptPlugin } from '@univerjs/uniscript';
Internationalization
import { LocaleType, Tools } from '@univerjs/core';
import UniscriptEnUS from '@univerjs/uniscript/locale/en-US';
const univer = new Univer({
theme: defaultTheme,
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: Tools.deepMerge(
UniscriptEnUS
),
},
});
Register
univer.registerPlugin(UniverUniscriptPlugin);