-
-
Notifications
You must be signed in to change notification settings - Fork 137
/
valaxy.config.ts
49 lines (43 loc) · 971 Bytes
/
valaxy.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { defineValaxyConfig } from 'valaxy'
import { addonAlgolia } from 'valaxy-addon-algolia'
import { addonComponents } from 'valaxy-addon-components'
import { addonWaline } from 'valaxy-addon-waline'
/**
* User Config
* do not use export const
*/
export default defineValaxyConfig<UserThemeConfig> ({
theme: 'yun',
modules: {
rss: {
enable: true,
fullText: false,
},
},
unocss: {
safelist: [
'i-ri-home-line',
],
},
addons: [
addonAlgolia({
appId: 'CJXXAGRCYN',
apiKey: 'ae1966d2aeab22bf9335679f45d2cd9a',
indexName: 'my-hexo-blog',
}),
addonComponents(),
addonWaline({
serverURL: 'https://waline.yunyoujun.cn',
// pageview: true,
comment: true,
}),
],
vue: {
template: {
compilerOptions: {
isCustomElement: (tag: string) => ['meting-js'].includes(tag),
},
},
},
})