Skip to content

Commit e843efe

Browse files
committed
Translate: Migration Guide > Fragments
1 parent 42c83e9 commit e843efe

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/guide/migration/fragments.md

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

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

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

10-
In Vue 3, components now have official support for multi-root node components, i.e., fragments!
10+
Vue 3 では、コンポーネントがマルチルートノードコンポーネント、つまりフラグメントを公式にサポートするようになりました!
1111

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

14-
In 2.x, multi-root components were not supported and would emit a warning when a user accidentally created one. As a result, many components are wrapped in a single `<div>` in order to fix this error.
14+
2.x では、マルチルートコンポーネントはサポートされておらず、ユーザーが誤ってコンポーネントを作成した場合に警告を表示していました。その結果、このエラーを修正するために、多くのコンポーネントが単一の `<div>` で囲むようになりました。
1515

1616
```html
1717
<!-- Layout.vue -->
@@ -24,9 +24,9 @@ In 2.x, multi-root components were not supported and would emit a warning when a
2424
</template>
2525
```
2626

27-
## 3.x Syntax
27+
## 3.x 構文
2828

29-
In 3.x, components now can have multiple root nodes! However, this does require developers to explicitly define where attributes should be distributed.
29+
3.x では、コンポーネントは複数のルートノードを持つことができるようになりました。しかし、これは開発者が属性をどこに割り当てるかを明示的に定義する必要があります。
3030

3131
```html
3232
<!-- Layout.vue -->
@@ -37,4 +37,4 @@ In 3.x, components now can have multiple root nodes! However, this does require
3737
</template>
3838
```
3939

40-
For more information on how attribute inheritance works, see [Non-Prop Attributes](/guide/component-attrs.html).
40+
属性の継承の仕組みについては、[プロパティでない属性](/guide/component-attrs.html)を参照してください。

0 commit comments

Comments
 (0)