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
Copy file name to clipboardExpand all lines: docs/guide/migration/breaking.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -420,12 +420,12 @@ Vue I18n v9 or later:
420
420
421
421
### `tag` prop is optional
422
422
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`.
424
424
425
425
Vue I18n v8.x:
426
426
427
427
```html{1,3}
428
-
<i18n tag="true" path="message.greeting">
428
+
<i18n :tag="false" path="message.greeting">
429
429
<span>hello!</span>
430
430
</i18n>
431
431
```
@@ -488,12 +488,12 @@ Vue I18n v9 or later:
488
488
489
489
### `tag` prop is optional
490
490
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`.
0 commit comments