Skip to content

Commit 1d8f907

Browse files
k2wankokazupon
authored andcommitted
translate routing vuejs#145 (vuejs#154) by @k2wanko
1 parent 205aade commit 1d8f907

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/guide/routing.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Routing
2+
title: ルーティング
33
type: guide
44
order: 20
55
---
66

7-
## Official Router
7+
## 公式ルータ
88

9-
For most Single Page Applications, it's recommended to use the officially-supported [vue-router library](https://github.com/vuejs/vue-router). For more details, see vue-router's [documentation](http://vuejs.github.io/vue-router/).
9+
ほとんどのシングルページアプリケーション (SPA: single page application) を作成する場合、公式にサポートされている [vue-router ライブラリ](https://github.com/vuejs/vue-router) を使うことをお勧めします。さらに詳しい内容は vue-router's [ドキュメント](http://vuejs.github.io/vue-router/) を参照してください。
1010

11-
## Simple Routing From Scratch
11+
## スクラッチからの単純なルーティング
1212

13-
If you just need very simple routing, you can do so by dynamically rendering a page-level component like this:
13+
とてもシンプルなルーティングの場合は、このようにページレベルのコンポーネントで動的にレンダリングすることができます。
1414

1515
``` js
1616
const NotFound = { template: '<p>Page not found</p>' }
@@ -36,8 +36,8 @@ new Vue({
3636
})
3737
```
3838

39-
Combined with the HTML5 History API, you can build a very basic but fully-functional client-side router. To see that in practice, check out [this example app](https://github.com/chrisvfritz/vue-2.0-simple-routing-example).
39+
HTML5の History API と組み合わせることで、とても基本ですが、完全に機能するクライアント側のルータを構築することができます。実際に確認するには [サンプル](https://github.com/chrisvfritz/vue-2.0-simple-routing-example) を取得してください。
4040

41-
## Integrating 3rd-Party Routers
41+
## サードパーティのルータとの統合
4242

43-
If there's a 3rd-party router you prefer to use, such as [Page.js](https://github.com/visionmedia/page.js) or [Director](https://github.com/flatiron/director), integration is [similarly easy](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/compare/master...pagejs). Here's a [complete example](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/tree/pagejs) using Page.js.
43+
もし、[Page.js](https://github.com/visionmedia/page.js) [Director](https://github.com/flatiron/director) の様なサードパーティのルータを使いたい場合、統合するのは [非常に簡単](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/compare/master...pagejs) です。ここに Page.js を使った [サンプル](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/tree/pagejs) があります。

0 commit comments

Comments
 (0)