You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Vue 2, `<transition-group>`, like other custom components, needed a root element, which by default was a `<span>`but was customizable via the `tag`prop.
@@ -22,19 +22,19 @@ In Vue 2, `<transition-group>`, like other custom components, needed a root elem
22
22
</transition-group>
23
23
```
24
24
25
-
## 3.x Syntax
25
+
## 3.x での構文
26
26
27
-
In Vue 3, we have [fragment support](/guide/migration/fragments.html), so components no longer _need_ a root node. Consequently, `<transition-group>`no longer renders one by default.
-If you already have the `tag`prop defined in your Vue 2 code, like in the example above, everything will work as before
30
-
-If you didn't have one defined _and_ your styling or other behaviors relied on the presence of the `<span>`root element to work properly, simply add `tag="span"`to the `<transition-group>`:
0 commit comments