Skip to content

Commit

Permalink
docs(zh): update home page of the chinese docs and theme config (#2002)
Browse files Browse the repository at this point in the history
  • Loading branch information
KimYangOfCat authored Feb 20, 2023
1 parent 842966b commit e48bab4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
label: '本页内容',
},

docFooter: {
prev: '上一页',
next: '下一页',
},

nav: [
// { text: 'Config', link: '/config/' },
// { text: 'Plugins', link: '/plugins/' },
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/zh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e48bab4

Please sign in to comment.