Skip to content

docs(ja): migrating from gitbooks #2224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ module.exports = {
lang: 'zh-CN',
title: 'Vue Router',
description: 'Vue.js 官方的路由管理器。'
},
'/ja/': {
lang: 'ja',
title: 'Vue Router',
description: 'Vue.js の公式ルータ'
}
},
serviceWorker: true,
Expand Down Expand Up @@ -116,6 +121,56 @@ module.exports = {
]
}
]
},
'/ja/': {
label: '日本語',
selectText: '言語',
editLinkText: 'GitHub 上でこのページを編集する',
nav: [
{
text: 'ガイド',
link: '/ja/guide/'
},
{
text: 'API リファレンス',
link: '/ja/api/'
},
{
text: 'リリースノート',
link: 'https://github.com/vuejs/vue-router/releases'
}
],
sidebar: [
'/ja/installation.md',
'/ja/',
{
title: '基本的な使い方',
collapsable: false,
children: [
'/ja/guide/',
'/ja/guide/essentials/dynamic-matching.md',
'/ja/guide/essentials/nested-routes.md',
'/ja/guide/essentials/navigation.md',
'/ja/guide/essentials/named-routes.md',
'/ja/guide/essentials/named-views.md',
'/ja/guide/essentials/redirect-and-alias.md',
'/ja/guide/essentials/passing-props.md',
'/ja/guide/essentials/history-mode.md'
]
},
{
title: '高度な使い方',
collapsable: false,
children: [
'/ja/guide/advanced/navigation-guards.md',
'/ja/guide/advanced/meta.md',
'/ja/guide/advanced/transitions.md',
'/ja/guide/advanced/data-fetching.md',
'/ja/guide/advanced/scroll-behavior.md',
'/ja/guide/advanced/lazy-loading.md'
]
}
]
}
}
}
Expand Down
18 changes: 18 additions & 0 deletions docs/ja/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 紹介

:::tip VERSION NOTE
TypeScriptユーザの場合、 `[email protected]+` は `[email protected]+` を必須とし、逆もまた同様です。
:::

Vue Router は [Vue.js](http://vuejs.org) 公式ルータです。これは Vue.js のコアと深く深く統合されており、Vue.js でシングルページアプリケーションを構築します。機能は次の通りです:

- ネストされたルート/ビューマッピング
- モジュール式、コンポーネントベースのルータ構造
- ルートパラメータ、クエリ、ワイルドカード
- Vue.js の transition 機能による、transition エフェクトの表示
- 細かいナビゲーションコントロール
- 自動で付与される active CSS クラス
- HTML5 history モードまたは hash モードと IE9 の互換性
- カスタマイズ可能なスクロール動作

[はじめに](../guide/essentials/getting-started.md) または [例](https://github.com/vuejs/vue-router/tree/dev/examples) から試してください。 ([`README.md`](https://github.com/vuejs/vue-router/)を参照してください。).
Loading