intlify / vue-i18n

Vue I18n for Vue 3
https://vue-i18n.intlify.dev/
MIT License
2.19k stars 336 forks source link

Documentation does not show usage within `<scripts>` - How to use `$t`, `$tc`, `$d`, `$n`? #1733

Open MickL opened 9 months ago

MickL commented 9 months ago

Clear and concise description of the problem

The docs are really great! I just dont see how to use all this amazing template functions within the script, e.g. $t, $tc, $d, $n. If I try to use them within I get an error that they are not defined.

Suggested solution

For each template function provide one example on how to use them within Githubissues.

  • Githubissues is a development platform for aggregating issues.