diff --git a/docs/content/docs/1.getting-started/1.index.md b/docs/content/docs/1.getting-started/1.index.md index 4033635bc..d4e5833b4 100644 --- a/docs/content/docs/1.getting-started/1.index.md +++ b/docs/content/docs/1.getting-started/1.index.md @@ -3,11 +3,11 @@ title: Installation description: Get started with Nuxt i18n module. --- -::callout +::callout{icon="i-heroicons-light-bulb"} You are reading the `v8` documentation compatible with **Nuxt 3**. :br Checkout [v7 Docs](/docs/v7) for **Nuxt 2** compatible version. :: -::callout +::callout{icon="i-heroicons-light-bulb"} Nuxt i18n module is using **Vue i18n v9**. See [Vue i18n docs](https://vue-i18n.intlify.dev/) for more. :: diff --git a/docs/content/docs/1.getting-started/2.usage.md b/docs/content/docs/1.getting-started/2.usage.md index 2866693a2..14dc5e574 100644 --- a/docs/content/docs/1.getting-started/2.usage.md +++ b/docs/content/docs/1.getting-started/2.usage.md @@ -33,12 +33,12 @@ export default defineI18nConfig(() => ({ The `i18n.config` file exports the same options as the `createI18n` function of Vue I18n. The configuration is passed to the `createI18n` function via the Nuxt plugin (runtime) of this module internally. For more details about configuration, see the [Vue I18n documentation](https://vue-i18n.intlify.dev/api/general.html#createi18n). -::callout +::callout{icon="i-heroicons-light-bulb"} The following documentation explains how to use the Nuxt i18n module using Vue I18n Composition API. :br For more information on how to use Vue I18n Composition API, please see the docs [here](https://vue-i18n.intlify.dev/guide/advanced/composition.html). :: -::callout{type="warning"} +::callout{icon="i-heroicons-exclamation-triangle" color="amber"} You can also use Vue I18n's Legacy API in the Nuxt i18n module, this requires configuring [nuxt.config](https://i18n.nuxtjs.org/options/bundle) and i18n.config (`legacy: true`) :: @@ -62,7 +62,7 @@ const { locale, setLocale } = useI18n() You now have a really simple Vue I18n based translation environment ready to go! The `