Skip to content

Commit de6ed67

Browse files
authored
Fix typo in breaking.md (#354)
* Update breaking.md * Update breaking.md fix for `<i18n-n>`
1 parent 762310a commit de6ed67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/guide/migration/breaking.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,12 @@ Vue I18n v9 or later:
420420

421421
### `tag` prop is optional
422422

423-
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`.
423+
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`.
424424

425425
Vue I18n v8.x:
426426

427427
```html{1,3}
428-
<i18n tag="true" path="message.greeting">
428+
<i18n :tag="false" path="message.greeting">
429429
<span>hello!</span>
430430
</i18n>
431431
```
@@ -488,12 +488,12 @@ Vue I18n v9 or later:
488488

489489
### `tag` prop is optional
490490

491-
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`.
491+
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`.
492492

493493
Vue I18n v8.x:
494494

495495
```html
496-
<i18n-n tag="true" :value="100" format="currency">
496+
<i18n-n :tag="false" :value="100" format="currency">
497497
<span v-slot:integer="slotProps" styles="font-weight: bold">{{ slotProps.integer }}</span>
498498
</i18n-n>
499499
```

0 commit comments

Comments
 (0)