s00d / nuxt-i18n-micro

Nuxt I18n Micro is a fast, simple, and lightweight internationalization (i18n) module for Nuxt
https://s00d.github.io/nuxt-i18n-micro/
MIT License
87 stars 11 forks source link

Export non-dollar-prefixed functions from useI18n #35

Closed Rigo-m closed 1 month ago

Rigo-m commented 1 month ago

To make migration easier from i18n to i18n-micro, it would be cool to export t, tc etc from useI18n (as that's how they are exported in i18n).

It would help to migrate less code when moving between i18n modules

s00d commented 1 month ago

I added this functionality in the latest update.