create-pubinfo 2.0.0-beta.29 → 2.0.0-beta.30
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/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import consola6 from "consola";
|
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "create-pubinfo",
|
|
10
10
|
type: "module",
|
|
11
|
-
version: "2.0.0-beta.
|
|
11
|
+
version: "2.0.0-beta.30",
|
|
12
12
|
description: "\u521D\u59CB\u5316\u9879\u76EE\u6846\u67B6",
|
|
13
13
|
author: "Werheng <werheng.zhang@gmail.com>",
|
|
14
14
|
license: "MIT",
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { legacyLogicalPropertiesTransformer, theme } from 'ant-design-vue';
|
|
3
3
|
import zhCN from 'ant-design-vue/es/locale/zh_CN';
|
|
4
|
+
import dayjs from 'dayjs';
|
|
4
5
|
import { useTheme } from 'pubinfo';
|
|
6
|
+
import 'dayjs/locale/zh-cn';
|
|
5
7
|
|
|
6
8
|
defineOptions({
|
|
7
9
|
name: 'UIProvider',
|
|
8
10
|
});
|
|
9
11
|
|
|
12
|
+
dayjs.locale('zh-cn');
|
|
13
|
+
|
|
10
14
|
function getContainer() {
|
|
11
15
|
return document.body;
|
|
12
16
|
}
|