diff --git a/docs/guide/advanced/composition.md b/docs/guide/advanced/composition.md index fe2329d07..09e3361d7 100644 --- a/docs/guide/advanced/composition.md +++ b/docs/guide/advanced/composition.md @@ -377,10 +377,11 @@ const { t, d, n, tm, locale } = useI18n({ // Something to do here ... ``` +### Locale messages -If you use i18n custom blocks in SFC as i18n resource of locale messages, it will be merged with the locale messages specified by the `messages` option of `useI18n`. +If you use i18n custom blocks in SFC as i18n resource of locale messages, it will be merged with the locale messages specified by the `messages` option of `useI18n`. -The following is an example of using i18n custom blocks and `useI18n` options: +The following is an example of using i18n custom blocks and `useI18n` options: ```vue +``` + ## Locale Changing ### Global Scope