Custom Menu
Loading...
import { createUniver, defaultTheme, LocaleType, merge } from '@univerjs/presets'
import { UniverSheetsCorePreset } from '@univerjs/presets/preset-sheets-core'
import sheetsCoreEnUS from '@univerjs/presets/preset-sheets-core/locales/en-US'
import { UniverSheetsCustomMenuPlugin } from './plugin'
import './style.css'
import '@univerjs/presets/lib/styles/preset-sheets-core.css'
const { univerAPI } = createUniver({
locale: LocaleType.EN_US,
locales: {
[LocaleType.EN_US]: merge(
{},
sheetsCoreEnUS,
),
},
theme: defaultTheme,
presets: [
UniverSheetsCorePreset(),
],
plugins: [
UniverSheetsCustomMenuPlugin,
],
})
univerAPI.createWorkbook({})
Read-onlyLast updated on