From 49690ddc08c8a36ca04958d379c42aaaed1af256 Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Wed, 13 May 2026 13:29:23 -0700 Subject: [PATCH] docs: add page for vue-i18n components inherited by the module --- .../docs/05.components/03.vue-i18n-components.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/content/docs/05.components/03.vue-i18n-components.md diff --git a/docs/content/docs/05.components/03.vue-i18n-components.md b/docs/content/docs/05.components/03.vue-i18n-components.md new file mode 100644 index 000000000..9ed5e81cb --- /dev/null +++ b/docs/content/docs/05.components/03.vue-i18n-components.md @@ -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 | +| ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | +| [``{lang="html"}](https://vue-i18n.intlify.dev/api/component.html#translation) | Translation component for interpolating message slots into a rendered element. | +| [``{lang="html"}](https://vue-i18n.intlify.dev/api/component.html#datetime-format) | Datetime formatting component for rendering locale-aware dates and times. | +| [``{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.