diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index def1f8ef38..5662e525df 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -139,6 +139,7 @@ const sidebar = { '/guide/migration/render-function-api', '/guide/migration/slots-unification', '/guide/migration/transition', + '/guide/migration/transition-group', '/guide/migration/v-on-native-modifier-removed', '/guide/migration/v-model', '/guide/migration/v-if-v-for', diff --git a/src/api/built-in-components.md b/src/api/built-in-components.md index ec03ce4f38..99c42ce64d 100644 --- a/src/api/built-in-components.md +++ b/src/api/built-in-components.md @@ -107,7 +107,7 @@ - **Props:** - - `tag` - `string`, defaults to `span`. + - `tag` - `string`, if not defined, renders without a root element. - `move-class` - overwrite CSS class applied during moving transition. - exposes the same props as `` except `mode`. @@ -117,7 +117,7 @@ - **Usage:** - `` serve as transition effects for **multiple** elements/components. The `` renders a real DOM element. By default it renders a ``, and you can configure what element it should render via the `tag` attribute. + `` provides transition effects for **multiple** elements/components. By default it doesn't render a wrapper DOM element, but one can be defined via the `tag` attribute. Note that every child in a `` must be [**uniquely keyed**](./special-attributes.html#key) for the animations to work properly. diff --git a/src/guide/migration/introduction.md b/src/guide/migration/introduction.md index 57f8c44e00..b510910234 100644 --- a/src/guide/migration/introduction.md +++ b/src/guide/migration/introduction.md @@ -101,6 +101,7 @@ The following consists a list of breaking changes from 2.x: - [The `data` option from mixins is now merged shallowly](/guide/migration/data-option.html#mixin-merge-behavior-change) - [Attributes coercion strategy changed](/guide/migration/attribute-coercion.html) - [Some transition classes got a rename](/guide/migration/transition.html) +- [`` now renders no wrapper element by default](/guide/migration/transition-group.html) - [When watching an array, the callback will only trigger when the array is replaced. If you need to trigger on mutation, the `deep` option must be specified.](/guide/migration/watch.html) - `