File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ location / {
45
45
Node.js/Express では [ connect-history-api-fallback middleware] ( https://github.com/bripkens/connect-history-api-fallback ) の利用を検討してください。
46
46
47
47
#### Internet Information Services (IIS)
48
+
48
49
``` xml
49
50
<?xml version =" 1.0" encoding =" UTF-8" ?>
50
51
<configuration >
@@ -61,10 +62,10 @@ Node.js/Express では [connect-history-api-fallback middleware](https://github.
61
62
</rule >
62
63
</rules >
63
64
</rewrite >
64
- <httpErrors >
65
- <remove statusCode =" 404" subStatusCode =" -1" />
65
+ <httpErrors >
66
+ <remove statusCode =" 404" subStatusCode =" -1" />
66
67
<remove statusCode =" 500" subStatusCode =" -1" />
67
- <error statusCode =" 404" path =" /survey/notfound" responseMode =" ExecuteURL" />
68
+ <error statusCode =" 404" path =" /survey/notfound" responseMode =" ExecuteURL" />
68
69
<error statusCode =" 500" path =" /survey/error" responseMode =" ExecuteURL" />
69
70
</httpErrors >
70
71
<modules runAllManagedModulesForAllRequests =" true" />
@@ -73,6 +74,7 @@ Node.js/Express では [connect-history-api-fallback middleware](https://github.
73
74
```
74
75
75
76
#### Caddy
77
+
76
78
```
77
79
rewrite {
78
80
regexp .*
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const router = new VueRouter({
30
30
31
31
// 名前付きビューによるルートに対しては、名前付きビューごとに props オプションを定義しなければなりません:
32
32
{
33
- path: ' /user/:id' ,
33
+ path: ' /user/:id' ,
34
34
components: { default: User, sidebar: Sidebar },
35
35
props: { default: true , sidebar: false }
36
36
}
@@ -46,8 +46,7 @@ props を true に設定すると、route.params がコンポーネントのプ
46
46
47
47
### Object モード
48
48
49
- props がオブジェクトの場合、これはコンポーネントプロパティとしてそのまま設定されます。
50
- プロパティが静的なときに便利です。
49
+ props がオブジェクトの場合、これはコンポーネントプロパティとしてそのまま設定されます。プロパティが静的なときに便利です。
51
50
52
51
``` js
53
52
const router = new VueRouter ({
@@ -59,8 +58,7 @@ const router = new VueRouter({
59
58
60
59
### Function モード
61
60
62
- プロパティを返す関数を作成することができます。
63
- これにより、パラメータを別のタイプにキャストし、静的な値をルートベースの値などと組み合わせることができます。
61
+ プロパティを返す関数を作成することができます。これにより、パラメータを別のタイプにキャストし、静的な値をルートベースの値などと組み合わせることができます。
64
62
65
63
``` js
66
64
const router = new VueRouter ({
You can’t perform that action at this time.
0 commit comments