@@ -12,7 +12,7 @@ const base =
12
12
: '/vue-hooks-plus/docs'
13
13
: ''
14
14
15
- const isGithub = process . env . FLOW === 'github'
15
+ // const isGithub = process.env.FLOW === 'github'
16
16
17
17
// fetch('https://api.github.com/repos/InhiblabCore/vue-hooks-plus/releases/latest')
18
18
// .then(response => response.json())
@@ -79,49 +79,27 @@ export default defineConfig({
79
79
locales : {
80
80
'/' : {
81
81
nav : [
82
- { text : `⒡ Hooks` , link : '/useRequest/' } ,
83
- isGithub
84
- ? {
85
- text : '演武场' ,
86
- link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
87
- }
88
- : {
89
- text : '演武场' ,
90
- link : 'https://inhiblab-core.gitee.io/vue-hooks-plus-playground/play' ,
91
- } ,
92
- isGithub
93
- ? {
94
- text : '国内镜像 🇨🇳' ,
95
- link : 'https://inhiblab-core.gitee.io/docs/hooks' ,
96
- }
97
- : null ,
82
+ { text : `🥳 Hooks` , link : '/useRequest/' } ,
98
83
{
99
- text : '发行版本' ,
84
+ text : '🤺 Playground' ,
85
+ link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
86
+ } ,
87
+ {
88
+ text : '🎀 Releases' ,
100
89
link : 'https://github.com/InhiblabCore/vue-hooks-plus/releases' ,
101
90
} ,
102
91
] . filter ( Boolean ) ,
103
92
sidebar : getRouterConfig ( ) ,
104
93
} ,
105
94
'/en/' : {
106
95
nav : [
107
- { text : '⒡ Hooks' , link : '/en/useRequest/' } ,
108
- isGithub
109
- ? {
110
- text : 'Playground' ,
111
- link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
112
- }
113
- : {
114
- text : 'Playground' ,
115
- link : 'https://inhiblab-core.gitee.io/vue-hooks-plus-playground/play' ,
116
- } ,
117
- isGithub
118
- ? {
119
- text : 'Gitee Mirror 🇨🇳' ,
120
- link : 'https://inhiblab-core.gitee.io/docs/hooks/' ,
121
- }
122
- : null ,
96
+ { text : '🥳 Hooks' , link : '/en/useRequest/' } ,
97
+ {
98
+ text : '🤺 Playground' ,
99
+ link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
100
+ } ,
123
101
{
124
- text : 'Releases' ,
102
+ text : '🎀 Releases' ,
125
103
link : 'https://github.com/InhiblabCore/vue-hooks-plus/releases/' ,
126
104
} ,
127
105
] . filter ( Boolean ) ,
0 commit comments