123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- module.exports = {
- locales: {
- '/': {
- lang: 'en-US',
- title: 'Vuex',
- description: 'Centralized State Management for Vue.js'
- },
- '/zh/': {
- lang: 'zh-CN',
- title: 'Vuex',
- description: 'Vue.js 的中心化状态管理方案'
- },
- '/ja/': {
- lang: 'ja',
- title: 'Vuex',
- description: 'Vue.js のための集中状態管理'
- },
- '/ru/': {
- lang: 'ru',
- title: 'Vuex',
- description: 'Централизованное управление состоянием для Vue.js'
- },
- '/kr/': {
- lang: 'kr',
- title: 'Vuex',
- description: 'Vue.js의 중앙 상태 관리'
- },
- '/ptbr/': {
- lang: 'pt-BR',
- title: 'Vuex',
- description: 'Gerenciamento de Estado Centralizado para Vue.js'
- },
- '/fr/': {
- lang: 'fr-FR',
- title: 'Vuex',
- description: 'Gestion d\'état centralisé pour Vue.js'
- }
- },
- head: [
- ['link', { rel: 'icon', href: `/logo.png` }],
- ['link', { rel: 'apple-touch-icon', href: `/icons/apple-touch-icon-152x152.png` }],
- ['link', { rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c' }],
- ['meta', { name: 'msapplication-TileImage', content: '/icons/msapplication-icon-144x144.png' }],
- ],
- serviceWorker: true,
- theme: '@vuepress/vue',
- themeConfig: {
- algolia: {
- apiKey: '97f135e4b5f5487fb53f0f2dae8db59d',
- indexName: 'vuex',
- },
- repo: 'vuejs/vuex',
- docsDir: 'docs',
- locales: {
- '/': {
- label: 'English',
- selectText: 'Languages',
- editLinkText: 'Edit this page on GitHub',
- nav: [
- { text: 'Guide', link: '/guide/' },
- { text: 'API Reference', link: '/api/' },
- { text: 'Release Notes', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/' }
- ]
- }
- ],
- sidebar: [
- {
- title: 'Introduction',
- collapsable: false,
- children: [
- { title: 'What is Vuex?', path: '/' },
- { title: 'Installation', path: '/installation' },
- { title: 'Getting Started', path: '/guide/' }
- ]
- },
- {
- title: 'Core Concepts',
- collapsable: false,
- children: [
- { title: 'State', path: '/guide/state' },
- { title: 'Getters', path: '/guide/getters' },
- { title: 'Mutations', path: '/guide/mutations' },
- { title: 'Actions', path: '/guide/actions' },
- { title: 'Modules', path: '/guide/modules' }
- ]
- },
- {
- title: 'Advanced',
- collapsable: false,
- children: [
- { title: 'Application Structure', path: '/guide/structure' },
- { title: 'Plugins', path: '/guide/plugins' },
- { title: 'Strict Mode', path: '/guide/strict' },
- { title: 'Form Handling', path: '/guide/forms' },
- { title: 'Testing', path: '/guide/testing' },
- { title: 'Hot Reloading', path: '/guide/hot-reload' }
- ]
- }
- ]
- },
- '/zh/': {
- label: '简体中文',
- selectText: '选择语言',
- editLinkText: '在 GitHub 上编辑此页',
- nav: [
- { text: '指南', link: '/zh/guide/' },
- { text: 'API 参考', link: '/zh/api/' },
- { text: '更新记录', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/' }
- ]
- }
- ],
- sidebar: [
- {
- title: '介绍',
- collapsable: false,
- children: [
- { title: 'Vuex 是什么?', path: '/zh/' },
- { title: '安装', path: '/zh/installation' },
- { title: '开始', path: '/zh/guide/' }
- ]
- },
- {
- title: '核心概念',
- collapsable: false,
- children: [
- { title: 'State', path: '/zh/guide/state' },
- { title: 'Getters', path: '/zh/guide/getters' },
- { title: 'Mutations', path: '/zh/guide/mutations' },
- { title: 'Actions', path: '/zh/guide/actions' },
- { title: 'Modules', path: '/zh/guide/modules' }
- ]
- },
- {
- title: '进阶',
- collapsable: false,
- children: [
- { title: '项目结构', path: '/zh/guide/structure' },
- { title: '插件', path: '/zh/guide/plugins' },
- { title: '严格模式', path: '/zh/guide/strict' },
- { title: '表单处理', path: '/zh/guide/forms' },
- { title: '测试', path: '/zh/guide/testing' },
- { title: '热重载', path: '/zh/guide/hot-reload' }
- ]
- }
- ]
- },
- '/ja/': {
- label: '日本語',
- selectText: '言語',
- editLinkText: 'GitHub 上でこのページを編集する',
- nav: [
- { text: 'ガイド', link: '/ja/guide/' },
- { text: 'API リファレンス', link: '/ja/api/' },
- { text: 'リリースノート', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/' }
- ]
- }
- ],
- sidebar: [
- {
- title: 'はじめに',
- collapsable: false,
- children: [
- { title: 'Vuex とは何か?', path: '/ja/' },
- { title: 'インストール', path: '/ja/installation' },
- { title: 'Vuex 入門', path: '/ja/guide/' }
- ]
- },
- {
- title: 'コアコンセプト',
- collapsable: false,
- children: [
- { title: 'ステート', path: '/ja/guide/state' },
- { title: 'ゲッター', path: '/ja/guide/getters' },
- { title: 'ミューテーション', path: '/ja/guide/mutations' },
- { title: 'アクション', path: '/ja/guide/actions' },
- { title: 'モジュール', path: '/ja/guide/modules' }
- ]
- },
- {
- title: '高度な活用',
- collapsable: false,
- children: [
- { title: 'アプリケーションの構造', path: '/ja/guide/structure' },
- { title: 'プラグイン', path: '/ja/guide/plugins' },
- { title: '厳格モード', path: '/ja/guide/strict' },
- { title: 'フォームの扱い', path: '/ja/guide/forms' },
- { title: 'テスト', path: '/ja/guide/testing' },
- { title: 'ホットリローディング', path: '/ja/guide/hot-reload' }
- ]
- }
- ]
- },
- '/ru/': {
- label: 'Русский',
- selectText: 'Переводы',
- editLinkText: 'Изменить эту страницу на GitHub',
- nav: [
- { text: 'Руководство', link: '/ru/guide/' },
- { text: 'Справочник API', link: '/ru/api/' },
- { text: 'История изменений', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/' }
- ]
- }
- ],
- sidebar: [
- {
- title: 'Введение',
- collapsable: false,
- children: [
- { title: 'Что такое Vuex?', path: '/ru/' },
- { title: 'Установка', path: '/ru/installation' },
- { title: 'Введение', path: '/ru/guide/' }
- ]
- },
- {
- title: 'Основные понятия',
- collapsable: false,
- children: [
- { title: 'Состояние', path: '/ru/guide/state' },
- { title: 'Геттеры', path: '/ru/guide/getters' },
- { title: 'Мутации', path: '/ru/guide/mutations' },
- { title: 'Действия', path: '/ru/guide/actions' },
- { title: 'Модули', path: '/ru/guide/modules' }
- ]
- },
- {
- title: 'Продвинутые темы',
- collapsable: false,
- children: [
- { title: 'Структура приложения', path: '/ru/guide/structure' },
- { title: 'Плагины', path: '/ru/guide/plugins' },
- { title: 'Строгий режим (strict mode)', path: '/ru/guide/strict' },
- { title: 'Работа с формами', path: '/ru/guide/forms' },
- { title: 'Тестирование', path: '/ru/guide/testing' },
- { title: 'Горячая перезагрузка', path: '/ru/guide/hot-reload' }
- ]
- }
- ]
- },
- '/kr/': {
- label: '한국어',
- selectText: '언어 변경',
- editLinkText: 'GitHub에서 이 페이지 수정',
- nav: [
- { text: '가이드', link: '/kr/guide/' },
- { text: 'API 레퍼런스', link: '/kr/api/' },
- { text: '릴리즈 노트', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/' }
- ]
- }
- ],
- sidebar: [
- {
- title: 'Introduction',
- collapsable: false,
- children: [
- { title: 'Vuex가 무엇인가요?', path: '/kr/' },
- { title: '설치', path: '/kr/installation' },
- { title: '시작하기', path: '/kr/guide/' }
- ]
- },
- {
- title: '핵심 컨셉',
- collapsable: false,
- children: [
- { title: '상태', path: '/kr/guide/state' },
- { title: 'Getters', path: '/kr/guide/getters' },
- { title: '변이', path: '/kr/guide/mutations' },
- { title: '액션', path: '/kr/guide/actions' },
- { title: '모듈', path: '/kr/guide/modules' }
- ]
- },
- {
- title: 'Advanced',
- collapsable: false,
- children: [
- { title: '애플리케이션 구조', path: '/kr/guide/structure' },
- { title: '플러그인', path: '/kr/guide/plugins' },
- { title: 'Strict 모드', path: '/kr/guide/strict' },
- { title: '폼 핸들링', path: '/kr/guide/forms' },
- { title: '테스팅', path: '/kr/guide/testing' },
- { title: '핫 리로딩', path: '/kr/guide/hot-reload' }
- ]
- }
- ]
- },
- '/ptbr/': {
- label: 'Português',
- selectText: 'Idiomas',
- editLinkText: 'Edite esta página no GitHub',
- nav: [
- { text: 'Guia', link: '/ptbr/guide/' },
- { text: 'Referência da API', link: '/ptbr/api/' },
- { text: 'Notas da Versão', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/ptbr/' }
- ]
- }
- ],
- sidebar: [
- {
- title: 'Introdução',
- collapsable: false,
- children: [
- { title: 'O que é Vuex?', path: '/ptbr/' },
- { title: 'Instalação', path: '/ptbr/installation' },
- { title: 'Começando', path: '/ptbr/guide/' }
- ]
- },
- {
- title: 'Conceitos Básicos',
- collapsable: false,
- children: [
- { title: 'Estado', path: '/ptbr/guide/state' },
- { title: 'Getters', path: '/ptbr/guide/getters' },
- { title: 'Mutações', path: '/ptbr/guide/mutations' },
- { title: 'Ações', path: '/ptbr/guide/actions' },
- { title: 'Módulos', path: '/ptbr/guide/modules' }
- ]
- },
- {
- title: 'Avançado',
- collapsable: false,
- children: [
- { title: 'Estrutura da Aplicação', path: '/ptbr/guide/structure' },
- { title: 'Plugins', path: '/ptbr/guide/plugins' },
- { title: 'Modo Estrito', path: '/ptbr/guide/strict' },
- { title: 'Manipulação de Formulários', path: '/ptbr/guide/forms' },
- { title: 'Testando', path: '/ptbr/guide/testing' },
- { title: 'Hot Reloading (Recarregamento Rápido)', path: '/ptbr/guide/hot-reload' }
- ]
- }
- ]
- },
- '/fr/': {
- label: 'Français',
- selectText: 'Langues',
- editLinkText: 'Éditer la page sur GitHub',
- nav: [
- { text: 'Guide', link: '/fr/guide/' },
- { text: 'API', link: '/fr/api/' },
- { text: 'Notes de version', link: 'https://github.com/vuejs/vuex/releases' },
- {
- text: 'v3.x',
- items: [
- { text: 'v4.x', link: 'https://next.vuex.vuejs.org/' }
- ]
- }
- ],
- sidebar: [
- {
- title: 'Introduction',
- collapsable: false,
- children: [
- { title: "Vuex, qu'est-ce que c'est ?", path: '/fr/' },
- { title: 'Installation', path: '/fr/installation' },
- { title: 'Pour commencer', path: '/fr/guide/' }
- ]
- },
- {
- title: 'Concepts centraux',
- collapsable: false,
- children: [
- { title: 'State', path: '/fr/guide/state' },
- { title: 'Accesseurs', path: '/fr/guide/getters' },
- { title: 'Mutations', path: '/fr/guide/mutations' },
- { title: 'Actions', path: '/fr/guide/actions' },
- { title: 'Modules', path: '/fr/guide/modules' }
- ]
- },
- {
- title: 'Avancés',
- collapsable: false,
- children: [
- { title: "Structure d'une application", path: '/fr/guide/structure' },
- { title: 'Plugins', path: '/fr/guide/plugins' },
- { title: 'Mode strict', path: '/fr/guide/strict' },
- { title: 'Gestion des formulaires', path: '/fr/guide/forms' },
- { title: 'Tests', path: '/fr/guide/testing' },
- { title: 'Rechargement à chaud', path: '/fr/guide/hot-reload' }
- ]
- }
- ]
- }
- }
- }
- }
|