diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d895df888..2b5332eed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,6 +110,8 @@ jobs: test-e2e: name: E2E test + if: github.event_name == 'push' && + !startsWith(github.event.head_commit.message, 'docs') needs: - build 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