-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalaxy.config.ts
More file actions
58 lines (51 loc) · 1.31 KB
/
valaxy.config.ts
File metadata and controls
58 lines (51 loc) · 1.31 KB
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
50
51
52
53
54
55
56
57
58
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { defineValaxyConfig } from 'valaxy'
// add icons what you will need
const safelist = [
'i-ri-home-line',
]
/**
* User Config
*/
export default defineValaxyConfig<UserThemeConfig>({
// site config see site.config.ts
theme: 'yun',
themeConfig: {
banner: {
enable: true,
title: '向量的小站',
},
},
unocss: { safelist },
})
// import { defineConfig } from 'valaxy'
// import type { ThemeConfig } from 'valaxy-theme-hairy'
// import { addonWaline } from 'valaxy-addon-waline'
// // import { addonMeting } from 'valaxy-addon-meting'
// /**
// * User Config
// * do not use export const config to avoid defu conflict
// */
// export default defineConfig<ThemeConfig>({
// theme: 'hairy',
// addons: [
// // addonMeting({
// // global: true,
// // props: {
// // // 设置网易云/qq或其他歌单ID
// // id: '8261729315',
// // type: 'playlist',
// // autoplay: false,
// // theme: 'var(--hy-c-primary)',
// // },
// // }),
// // Waline 评论系统
// // 请参考 https://waline.js.org/ 设置 serverURL 地址
// addonWaline({
// comment: true,
// serverURL: '',
// emoji: [],
// pageview: true,
// }),
// ]
// })