Skip to content

Commit d849292

Browse files
Daichi Ishikawakazupon
Daichi Ishikawa
authored andcommitted
docs(ja): migrating from gitbooks (vuejs#2224)
* migrating from gitbooks * revert dist/**.js
1 parent 7296c43 commit d849292

19 files changed

+1854
-0
lines changed

docs/.vuepress/config.js

+55
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ module.exports = {
99
lang: 'zh-CN',
1010
title: 'Vue Router',
1111
description: 'Vue.js 官方的路由管理器。'
12+
},
13+
'/ja/': {
14+
lang: 'ja',
15+
title: 'Vue Router',
16+
description: 'Vue.js の公式ルータ'
1217
}
1318
},
1419
serviceWorker: true,
@@ -116,6 +121,56 @@ module.exports = {
116121
]
117122
}
118123
]
124+
},
125+
'/ja/': {
126+
label: '日本語',
127+
selectText: '言語',
128+
editLinkText: 'GitHub 上でこのページを編集する',
129+
nav: [
130+
{
131+
text: 'ガイド',
132+
link: '/ja/guide/'
133+
},
134+
{
135+
text: 'API リファレンス',
136+
link: '/ja/api/'
137+
},
138+
{
139+
text: 'リリースノート',
140+
link: 'https://github.com/vuejs/vue-router/releases'
141+
}
142+
],
143+
sidebar: [
144+
'/ja/installation.md',
145+
'/ja/',
146+
{
147+
title: '基本的な使い方',
148+
collapsable: false,
149+
children: [
150+
'/ja/guide/',
151+
'/ja/guide/essentials/dynamic-matching.md',
152+
'/ja/guide/essentials/nested-routes.md',
153+
'/ja/guide/essentials/navigation.md',
154+
'/ja/guide/essentials/named-routes.md',
155+
'/ja/guide/essentials/named-views.md',
156+
'/ja/guide/essentials/redirect-and-alias.md',
157+
'/ja/guide/essentials/passing-props.md',
158+
'/ja/guide/essentials/history-mode.md'
159+
]
160+
},
161+
{
162+
title: '高度な使い方',
163+
collapsable: false,
164+
children: [
165+
'/ja/guide/advanced/navigation-guards.md',
166+
'/ja/guide/advanced/meta.md',
167+
'/ja/guide/advanced/transitions.md',
168+
'/ja/guide/advanced/data-fetching.md',
169+
'/ja/guide/advanced/scroll-behavior.md',
170+
'/ja/guide/advanced/lazy-loading.md'
171+
]
172+
}
173+
]
119174
}
120175
}
121176
}

docs/ja/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 紹介
2+
3+
:::tip VERSION NOTE
4+
TypeScriptユーザの場合、 `[email protected]+``[email protected]+` を必須とし、逆もまた同様です。
5+
:::
6+
7+
Vue Router は [Vue.js](http://vuejs.org) 公式ルータです。これは Vue.js のコアと深く深く統合されており、Vue.js でシングルページアプリケーションを構築します。機能は次の通りです:
8+
9+
- ネストされたルート/ビューマッピング
10+
- モジュール式、コンポーネントベースのルータ構造
11+
- ルートパラメータ、クエリ、ワイルドカード
12+
- Vue.js の transition 機能による、transition エフェクトの表示
13+
- 細かいナビゲーションコントロール
14+
- 自動で付与される active CSS クラス
15+
- HTML5 history モードまたは hash モードと IE9 の互換性
16+
- カスタマイズ可能なスクロール動作
17+
18+
[はじめに](../guide/essentials/getting-started.md) または [](https://github.com/vuejs/vue-router/tree/dev/examples) から試してください。 ([`README.md`](https://github.com/vuejs/vue-router/)を参照してください。).

0 commit comments

Comments
 (0)