Skip to content
Open
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
14 changes: 14 additions & 0 deletions docs/content/docs/05.components/03.vue-i18n-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Vue I18n components
description: Translation, datetime and number components inherited from Vue I18n
---

In addition to the components provided by this module, the underlying [Vue I18n](https://vue-i18n.intlify.dev/) library ships its own set of components that are available in any Nuxt application using `@nuxtjs/i18n`.

| Component | Description |
| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [`<i18n-t>`{lang="html"}](https://vue-i18n.intlify.dev/api/component.html#translation) | Translation component for interpolating message slots into a rendered element. |
| [`<i18n-d>`{lang="html"}](https://vue-i18n.intlify.dev/api/component.html#datetime-format) | Datetime formatting component for rendering locale-aware dates and times. |
| [`<i18n-n>`{lang="html"}](https://vue-i18n.intlify.dev/api/component.html#number-format) | Number formatting component for rendering locale-aware numbers and currencies. |

Refer to the [Vue I18n component API reference](https://vue-i18n.intlify.dev/api/component.html) for full prop documentation and examples.