[Vuejs]-Vue class equivalent for setup(){const { t } = useI18n({ inheritLocale: true, useScope: 'local' })}

0👍

It seems the solution was closer than I thought

just to add $ like this:

{{ $i18n.t("p1") }}

and it works, have not to add the aforementioned values…

Leave a comment