Univer
Univer Sheet
功能
Uniscript

Uniscript

📊 Univer Sheet

安装

pnpm add @univerjs/uniscript

引入

import '@univerjs/uniscript/lib/index.css';
 
import { UniverUniscriptPlugin } from '@univerjs/uniscript';

国际化

import { LocaleType, Tools } from '@univerjs/core';
import UniscriptZhCN from '@univerjs/uniscript/locale/zh-CN';
 
const univer = new Univer({
  theme: defaultTheme,
  locale: LocaleType.ZH_CN,
  locales: {
    [LocaleType.ZH_CN]: Tools.deepMerge(
      UniscriptZhCN
    ),
  },
});

注册

univer.registerPlugin(UniverUniscriptPlugin);

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.