valaxy-theme-yun 0.11.7 → 0.12.0
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/components/ValaxyMain.vue +2 -2
- package/layouts/layout.vue +0 -1
- package/package.json +2 -2
@@ -1,7 +1,6 @@
|
|
1
1
|
<script lang="ts" setup>
|
2
2
|
import type { PageData, Post } from 'valaxy'
|
3
3
|
import { useConfig, usePostTitle } from 'valaxy'
|
4
|
-
import { useAddonWaline } from 'valaxy-addon-waline'
|
5
4
|
import { StyleValue, computed, defineAsyncComponent } from 'vue'
|
6
5
|
import { usePostProperty } from '../composables'
|
7
6
|
|
@@ -16,7 +15,8 @@ const title = usePostTitle(computed(() => props.frontmatter))
|
|
16
15
|
|
17
16
|
const aside = computed(() => props.frontmatter.aside !== false)
|
18
17
|
|
19
|
-
|
18
|
+
// not import from 'valaxy-addon-waline' to judge
|
19
|
+
const YunWaline = config.value.runtime.addons['valaxy-addon-waline']
|
20
20
|
? defineAsyncComponent(() => import('./YunWaline.vue'))
|
21
21
|
: () => null
|
22
22
|
|
package/layouts/layout.vue
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "valaxy-theme-yun",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.12.0",
|
4
4
|
"author": {
|
5
5
|
"email": "me@yunyoujun.cn",
|
6
6
|
"name": "YunYouJun",
|
@@ -22,6 +22,6 @@
|
|
22
22
|
"valaxy-addon-waline": "0.0.6"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
|
-
"valaxy": "0.
|
25
|
+
"valaxy": "0.12.0"
|
26
26
|
}
|
27
27
|
}
|