Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

how to use vue-i18n in slots#6999

Answeredbyrkrater
rkrater asked this question inQ&A
Discussion options

I'm trying to vue-i18n in the label slot for the form group component. Both blocks of code getTypeError: _vm.t is not a function. Does anyone know the correct way?

  <b-form-group><template v-slot:label>        <i18n path="5_304_thank_you_for_engaging_wi" tag="span">          <template v-slot:date>            <strong>{{ meeting.date_meeting_on }}</strong>          </template>        </i18n></template><b-input  name="email"  v-model="form.email"/>  </b-form-group>
  <b-form-group><template v-slot:label>  {{ $t('5_283_email_required')}}</template><b-input  name="email"  v-model="form.email"/>  </b-form-group>
You must be logged in to vote

I'm an idiot - had error on the next line

Replies: 1 comment

Comment options

I'm an idiot - had error on the next line

You must be logged in to vote
0 replies
Answer selected byrkrater
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@rkrater

[8]ページ先頭

©2009-2025 Movatter.jp