Skip to content

Commit ab90a6f

Browse files
committed
docs: translate migration guide > props data
1 parent 8ff3a80 commit ab90a6f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/guide/migration/props-data.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ badges:
55

66
# `propsData` <MigrationBadges :badges="$frontmatter.badges" />
77

8-
## Overview
8+
## 概要
99

10-
The `propsData` option, used to pass props to the Vue instance during its creation, is removed. To pass props to the root component of a Vue 3 application, use the second argument of [createApp](/api/global-api.html#createapp).
10+
Vue インスタンスの生成時に props を渡すために使われていた `propsData` オプションは削除されました。Vue 3 アプリケーションのルートコンポーネントに props を渡すには、 [createApp](/api/global-api.html#createapp) の第2引数を使います。
1111

12-
## 2.x Syntax
12+
## 2.x での構文
1313

14-
In 2.x, we were able to pass props to a Vue instance during its creation:
14+
2.x では、 Vue インスタンスの生成時に props を渡すことができました:
1515

1616
```js
1717
const Comp = Vue.extend({
@@ -26,9 +26,9 @@ new Comp({
2626
})
2727
```
2828

29-
## 3.x Update
29+
## 3.x での更新
3030

31-
The `propsData` option has been removed. If you need to pass props to the root component instance during its creation, you should use the second argument of `createApp`:
31+
`propsData` オプションは削除されました。生成時にルートコンポーネントのインスタンスに props を渡す必要がある場合は、 `createApp` の第2引数を使ってください:
3232

3333
```js
3434
const app = createApp(

0 commit comments

Comments
 (0)