@wot-ui/vitepress-theme 2.0.0-alpha.18 → 2.0.0-alpha.19

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/dist/config.js CHANGED
@@ -120,6 +120,7 @@ function createWotVitePressConfig(options) {
120
120
  head: options.head,
121
121
  locales: options.locales,
122
122
  themeConfig: options.themeConfig,
123
+ lang: options.lang,
123
124
  vite: {
124
125
  ...userVite,
125
126
  plugins: [...internalPlugins, ...normalizePlugins(userVite.plugins)],
package/dist/types.d.ts CHANGED
@@ -215,6 +215,10 @@ export interface WotVitePressConfigOptions {
215
215
  * 站点标题。
216
216
  */
217
217
  title: string;
218
+ /**
219
+ * 站点默认语言。
220
+ */
221
+ lang: string;
218
222
  /**
219
223
  * 站点描述。
220
224
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wot-ui/vitepress-theme",
3
- "version": "2.0.0-alpha.18",
3
+ "version": "2.0.0-alpha.19",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"