D
D
Dutymy2021-07-29 16:06:15
Internationalization and localization
Dutymy, 2021-07-29 16:06:15

How to specify Placeholder using i18n Vue 3 cli?

Hello, I'm trying to do something similar to

<input type="text" :placeholder = t("Enter your message here")/>
but it doesn't work - how to do it right

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Anton, 2021-07-29
@Dutymy

:placeholder="$t('Enter your message here')"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question