@univerjs/core 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,3 +34,25 @@ npm install @univerjs/core
34
34
  # Using pnpm
35
35
  pnpm add @univerjs/core
36
36
  ```
37
+
38
+ ### Configuration
39
+
40
+ ```typescript
41
+ import { Univer } from '@univerjs/core';
42
+
43
+ new Univer({
44
+ theme: defaultTheme,
45
+ locale: LocaleType.ZH_CN,
46
+ locales,
47
+ logLevel: LogLevel.VERBOSE,
48
+ });
49
+ ```
50
+
51
+ #### Options
52
+
53
+ | Name | Type | Default | Description |
54
+ | --- | --- | --- | --- |
55
+ | theme | [Theme](https://univer.ai/api/design/#built-in-themes) | - | The theme of the application, which is used to control the appearance of the application. |
56
+ | locale | [LocaleType](https://univer.ai/api/core/enums/LocaleType.html) | `LocaleType.ZH_CN` | The locale of the application. The default value is `LocaleType.ZH_CN`.
57
+ | locales | [ILocales](https://univer.ai/api/core/interfaces/ILocales.html) | - | The supported locales of the application. By default, the application supports Chinese.
58
+ | logLevel | [LogLevel](https://univer.ai/api/core/enums/LogLevel.html) | `LogLevel.SILENT` | The log level of the application. |