@@ -12,7 +12,7 @@ const base =
1212 : '/vue-hooks-plus/docs'
1313 : ''
1414
15- const isGithub = process . env . FLOW === 'github'
15+ // const isGithub = process.env.FLOW === 'github'
1616
1717// fetch('https://api.github.com/repos/InhiblabCore/vue-hooks-plus/releases/latest')
1818// .then(response => response.json())
@@ -79,49 +79,27 @@ export default defineConfig({
7979 locales : {
8080 '/' : {
8181 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/' } ,
9883 {
99- text : '发行版本' ,
84+ text : '🤺 Playground' ,
85+ link : 'https://inhiblabcore.github.io/vue-hooks-plus-playground/play' ,
86+ } ,
87+ {
88+ text : '🎀 Releases' ,
10089 link : 'https://github.com/InhiblabCore/vue-hooks-plus/releases' ,
10190 } ,
10291 ] . filter ( Boolean ) ,
10392 sidebar : getRouterConfig ( ) ,
10493 } ,
10594 '/en/' : {
10695 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+ } ,
123101 {
124- text : 'Releases' ,
102+ text : '🎀 Releases' ,
125103 link : 'https://github.com/InhiblabCore/vue-hooks-plus/releases/' ,
126104 } ,
127105 ] . filter ( Boolean ) ,
0 commit comments