@sugarat/create-theme 0.0.81 → 0.0.83
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.
|
@@ -7,14 +7,14 @@ description: 默认支持流程图,tabs面板,待办列表,作品页面
|
|
|
7
7
|
部分内置组件(插件),来源 [vitepress.yiov.top](https://vitepress.yiov.top/plugin.html) 推荐
|
|
8
8
|
|
|
9
9
|
## oml2d - 看板娘集成
|
|
10
|
-
* Type:[oml2dOptions](https://oml2d.
|
|
10
|
+
* Type:[oml2dOptions](https://oml2d.hacxy.cn/api/interfaces/Options.html)
|
|
11
11
|
|
|
12
12
|
为网站提供一个 Live2D 看板组件。
|
|
13
13
|
|
|
14
14
|
:::tip 一点说明
|
|
15
|
-
通过内置 [oh-my-live2d](https://oml2d.
|
|
15
|
+
通过内置 [oh-my-live2d](https://oml2d.hacxy.cn) 实现, 可以通过 `oml2d` 选项配置。
|
|
16
16
|
|
|
17
|
-
通过这个能力可以快速加入并定制属于自己的看板娘, 开启只需要为其传递一个 [配置选项](https://oml2d.
|
|
17
|
+
通过这个能力可以快速加入并定制属于自己的看板娘, 开启只需要为其传递一个 [配置选项](https://oml2d.hacxy.cn/options/Options.html) 即可
|
|
18
18
|
:::
|
|
19
19
|
|
|
20
20
|
以下是一个简单的使用示例,当模型加载成功时它将出现在您网站的左下角。
|
|
@@ -35,7 +35,7 @@ const blogTheme = getThemeConfig({
|
|
|
35
35
|
|
|
36
36
|

|
|
37
37
|
|
|
38
|
-
之后您还可以前往[配置选项](https://oml2d.
|
|
38
|
+
之后您还可以前往[配置选项](https://oml2d.hacxy.cn/options/Options.html)查阅更多自定义内容
|
|
39
39
|
|
|
40
40
|
:::tip 版本说明
|
|
41
41
|
由于时间原因,主题内置的版本不一定都是最新的,可以通过 `resolutions` 配置指定要使用的版本。
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@element-plus/icons-vue": "^2.3.1",
|
|
14
|
-
"@sugarat/theme": "
|
|
14
|
+
"@sugarat/theme": "0.5.6",
|
|
15
15
|
"element-plus": "^2.7.2",
|
|
16
16
|
"vue": "3.5.12"
|
|
17
17
|
},
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"doc": "docs"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"pagefind": "^1.
|
|
22
|
+
"pagefind": "^1.3.0",
|
|
23
23
|
"sass": "^1.76.0",
|
|
24
24
|
"typescript": "^5.4.5",
|
|
25
|
-
"vitepress": "1.
|
|
25
|
+
"vitepress": "1.6.3"
|
|
26
26
|
},
|
|
27
27
|
"pnpm": {
|
|
28
28
|
"peerDependencyRules": {
|