From: Kim Yang Date: Mon, 20 Feb 2023 17:15:45 +0000 (+0800) Subject: docs(zh): update home page of the chinese docs and theme config (#2002) X-Git-Tag: pinia@2.0.32~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e48bab43e9fb3675d6dcec56827255d402d8194a;p=thirdparty%2Fvuejs%2Fpinia.git docs(zh): update home page of the chinese docs and theme config (#2002) --- diff --git a/packages/docs/.vitepress/config/zh.ts b/packages/docs/.vitepress/config/zh.ts index 17c2e8be..aa9ddaf5 100644 --- a/packages/docs/.vitepress/config/zh.ts +++ b/packages/docs/.vitepress/config/zh.ts @@ -26,6 +26,11 @@ export const zhConfig: LocaleSpecificConfig = { label: '本页内容', }, + docFooter: { + prev: '上一页', + next: '下一页', + }, + nav: [ // { text: 'Config', link: '/config/' }, // { text: 'Plugins', link: '/plugins/' }, diff --git a/packages/docs/zh/index.md b/packages/docs/zh/index.md index 3df37f70..2c278721 100644 --- a/packages/docs/zh/index.md +++ b/packages/docs/zh/index.md @@ -8,8 +8,8 @@ titleTemplate: The intuitive store for Vue.js hero: name: Pinia - text: The intuitive store for Vue.js - tagline: Type Safe, Extensible, and Modular by design. Forget you are even using a store. + text: "符合直觉的 \nVue.js 状态管理库" + tagline: "类型安全、可扩展性以及模块化设计。\n甚至让你忘记正在使用的是一个状态库。" image: src: /logo.svg alt: Pinia