Skip to content

instance method do not work on functional component... i.e Can't use vue-i18n inside #8074

@darkylmnx

Description

@darkylmnx

What problem does this feature solve?

currently I can't use vue-i18n in functional components...

<div class="banner_dl columns">
          <a
            class="banner_dl_btn column is-narrow"
            href=""
            target="_blank"
            rel="noopener noreferrer">
            <img src="http://placehold.it/218x64" :alt="$t('buttons.download_android')">
          </a>
          <a
            class="banner_dl_btn column is-narrow"
            href=""
            target="_blank"
            rel="noopener noreferrer">
            <img src="http://placehold.it/218x64" :alt="$t('buttons.download_ios')">
          </a>
</div>

What does the proposed API look like?

there's no API for that, it just have to work out-of-the-box

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions