Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/guide/migration/breaking.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,12 @@ Vue I18n v9 or later:

### `tag` prop is optional

In Vue I18n v8.x, `tag` prop could be used to render child elements without the root element by specifying a tag name and the `Boolean` value `true`.
In Vue I18n v8.x, `tag` prop could be used to render child elements without the root element by specifying a tag name and the `Boolean` value `false`.

Vue I18n v8.x:

```html{1,3}
<i18n tag="true" path="message.greeting">
<i18n :tag="false" path="message.greeting">
<span>hello!</span>
</i18n>
```
Expand Down Expand Up @@ -488,12 +488,12 @@ Vue I18n v9 or later:

### `tag` prop is optional

Similar to *[Translation component section](#tag-prop-is-optional)*, In NumberFormat component (called *i18n-n functional component* in Vue I18n v8.x) `tag` prop could be used to render child elements without the root element by specifying a tag name and the `Boolean` value `true`.
Similar to *[Translation component section](#tag-prop-is-optional)*, In NumberFormat component (called *i18n-n functional component* in Vue I18n v8.x) `tag` prop could be used to render child elements without the root element by specifying a tag name and the `Boolean` value `false`.

Vue I18n v8.x:

```html
<i18n-n tag="true" :value="100" format="currency">
<i18n-n :tag="false" :value="100" format="currency">
<span v-slot:integer="slotProps" styles="font-weight: bold">{{ slotProps.integer }}</span>
</i18n-n>
```
Expand Down