diff --git a/docs/.vuepress/config/navbar.js b/docs/.vuepress/config/navbar.js index 8a11a89debe95f5444c8ff87cf251eca29b9fba3..0469ad6a6b6d60c7aad5d4e80fdbd5bbdcdd6418 100644 --- a/docs/.vuepress/config/navbar.js +++ b/docs/.vuepress/config/navbar.js @@ -160,4 +160,18 @@ export const navbar = [ link: 'https://ext.dcloud.net.cn/', needOutbound: false } */ -] \ No newline at end of file +] + +export const navbarLanguage = { + default: 0, + items: [ + { + text: '简体中文', + link: 'https://uniapp.dcloud.net.cn/' + }, + { + text: 'English', + link: 'https://en.uniapp.dcloud.io/' + } + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 5d0edcbd994a97aa7ae34415c6a3732ba8d46741..d478c46b13b6a52c64b0d6918669c5767bae4223 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,6 @@ }, "dependencies": { "@docsearch/js": "^3.1.0", - "vuepress-theme-uni-app-test": "^1.1.3" + "vuepress-theme-uni-app-test": "^1.1.4" } } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 55beef431b0e95ac531566e04214b277727d5cc9..8a2c6b6dabdeb0bdc04ac12029a8c3005ee1c614 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8464,7 +8464,7 @@ vuepress-plugin-smooth-scroll@^0.0.3: dependencies: smoothscroll-polyfill "^0.4.3" -vuepress-theme-uni-app-test@^1.1.2, vuepress-theme-uni-app-test@^1.1.3: +vuepress-theme-uni-app-test@^1.1.2: version "1.1.3" resolved "https://registry.yarnpkg.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.1.3.tgz#6497f5b164ce23fbdbeddff9acc04760936e303e" integrity sha512-95JNDzZ6hFfYwBU7ykR4EwEroHqT3Fge3GZI2C530vqpnFYcft+uKImYOgkw+NLPYnOA55hWrWMoKxpMPlwGlw== @@ -8477,6 +8477,19 @@ vuepress-theme-uni-app-test@^1.1.2, vuepress-theme-uni-app-test@^1.1.3: vuepress-plugin-juejin-style-copy "^1.0.4" vuepress-theme-uni-app-test "^1.1.2" +vuepress-theme-uni-app-test@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/vuepress-theme-uni-app-test/-/vuepress-theme-uni-app-test-1.1.4.tgz#2ec8c9c92a9641d4932947092e887d2fda499020" + integrity sha512-KOTuouZX7454581T1KEY2HZRo0Jx9eGfrE9eHNcGrW8cjW3BDYTJX/AWcWJjbpJczzhCOMUFBlCxq15zNkOLQQ== + dependencies: + "@vuepress/plugin-back-to-top" "^1.9.5" + "@vuepress/theme-default" "^1.8.2" + algoliasearch "^4.13.1" + clipboard "^2.0.11" + vuepress "^1.8.2" + vuepress-plugin-juejin-style-copy "^1.0.4" + vuepress-theme-uni-app-test "^1.1.2" + vuepress@^1.8.2: version "1.9.7" resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.9.7.tgz#2cd6709a2228f5cef588115aaeabf820ab9ed7cc"