1
0

config.js 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. module.exports = {
  2. lang: 'en-US',
  3. title: 'Vuex',
  4. description: 'Centralized State Management for Vue.js',
  5. locales: {
  6. '/': {
  7. lang: 'en-US',
  8. title: 'Vuex',
  9. description: 'Centralized State Management for Vue.js'
  10. },
  11. '/ptbr/': {
  12. lang: 'pt-BR',
  13. title: 'Vuex',
  14. description: 'Gerenciamento de Estado Centralizado para Vue.js'
  15. }
  16. },
  17. head: [
  18. ['link', { rel: 'icon', href: `/logo.png` }],
  19. ['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon-152x152.png` }],
  20. ['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c' }],
  21. ['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
  22. ],
  23. themeConfig: {
  24. repo: 'vuejs/vuex',
  25. docsDir: 'docs',
  26. docsBranch: '4.0',
  27. editLinks: true,
  28. locales: {
  29. '/': {
  30. label: 'English',
  31. selectText: 'Languages',
  32. editLinkText: 'Edit this page on GitHub',
  33. lastUpdated: 'Last Updated',
  34. nav: [
  35. { text: 'Guide', link: '/guide/' },
  36. { text: 'API Reference', link: '/api/' },
  37. { text: 'Release Notes', link: 'https://github.com/vuejs/vuex/releases' },
  38. {
  39. text: 'v4.x',
  40. items: [
  41. { text: 'v3.x', link: 'https://vuex.vuejs.org/' }
  42. ]
  43. }
  44. ],
  45. sidebar: [
  46. {
  47. text: 'Introduction',
  48. children: [
  49. { text: 'What is Vuex?', link: '/' },
  50. { text: 'Installation', link: '/installation' },
  51. { text: 'Getting Started', link: '/guide/' }
  52. ]
  53. },
  54. {
  55. text: 'Core Concepts',
  56. children: [
  57. { text: 'State', link: '/guide/state' },
  58. { text: 'Getters', link: '/guide/getters' },
  59. { text: 'Mutations', link: '/guide/mutations' },
  60. { text: 'Actions', link: '/guide/actions' },
  61. { text: 'Modules', link: '/guide/modules' }
  62. ]
  63. },
  64. {
  65. text: 'Advanced',
  66. children: [
  67. { text: 'Application Structure', link: '/guide/structure' },
  68. { text: 'Composition API', link: '/guide/composition-api' },
  69. { text: 'Plugins', link: '/guide/plugins' },
  70. { text: 'Strict Mode', link: '/guide/strict' },
  71. { text: 'Form Handling', link: '/guide/forms' },
  72. { text: 'Testing', link: '/guide/testing' },
  73. { text: 'Hot Reloading', link: '/guide/hot-reload' },
  74. { text: 'TypeScript Support', link: '/guide/typescript-support' },
  75. ]
  76. },
  77. {
  78. text: 'Migration Guide',
  79. children: [
  80. { text: 'Migrating to 4.0 from 3.x', link: '/guide/migrating-to-4-0-from-3-x' }
  81. ]
  82. }
  83. ]
  84. },
  85. '/ptbr/': {
  86. label: 'Português',
  87. selectText: 'Idiomas',
  88. editLinkText: 'Edite esta página no GitHub',
  89. lastUpdated: 'Última Atualização',
  90. nav: [
  91. { text: 'Guia', link: '/ptbr/guide/' },
  92. { text: 'Referência da API', link: '/ptbr/api/' },
  93. { text: 'Notas de Lançamento', link: 'https://github.com/vuejs/vuex/releases' },
  94. {
  95. text: 'v4.x',
  96. items: [
  97. { text: 'v3.x', link: 'https://vuex.vuejs.org/ptbr/' }
  98. ]
  99. }
  100. ],
  101. sidebar: [
  102. {
  103. text: 'Introdução',
  104. children: [
  105. { text: 'O que é Vuex?', link: '/ptbr/' },
  106. { text: 'Instalação', link: '/ptbr/installation' },
  107. { text: 'Começando', link: '/ptbr/guide/' }
  108. ]
  109. },
  110. {
  111. text: 'Conceitos Básicos',
  112. children: [
  113. { text: 'Estado', link: '/ptbr/guide/state' },
  114. { text: 'Getters', link: '/ptbr/guide/getters' },
  115. { text: 'Mutações', link: '/ptbr/guide/mutations' },
  116. { text: 'Ações', link: '/ptbr/guide/actions' },
  117. { text: 'Módulos', link: '/ptbr/guide/modules' }
  118. ]
  119. },
  120. {
  121. text: 'Avançado',
  122. children: [
  123. { text: 'Estrutura da Aplicação', link: '/ptbr/guide/structure' },
  124. { text: 'Composition API', link: '/ptbr/guide/composition-api' },
  125. { text: 'Plugins', link: '/ptbr/guide/plugins' },
  126. { text: 'Modo Strict', link: '/ptbr/guide/strict' },
  127. { text: 'Manipulação de Formulários', link: '/ptbr/guide/forms' },
  128. { text: 'Testando', link: '/ptbr/guide/testing' },
  129. { text: 'Hot Reloading', link: '/ptbr/guide/hot-reload' },
  130. { text: 'Suporte ao TypeScript', link: '/ptbr/guide/typescript-support' },
  131. ]
  132. },
  133. {
  134. text: 'Guia de Migração',
  135. children: [
  136. { text: 'Migrando do 3.x para 4.0', link: '/ptbr/guide/migrating-to-4-0-from-3-x' }
  137. ]
  138. }
  139. ]
  140. }
  141. }
  142. }
  143. }