intlify / vue-i18n-composable

Composition API for vue-i18n in Vue 2.x
MIT License
44 stars 10 forks source link

No prefix on exported APIs #11

Closed rchl closed 3 years ago

rchl commented 3 years ago

Would it make sense to have those APIs named the same as in the Options API? I mean with the $ prefix?

https://github.com/intlify/vue-i18n-composable/blob/a4579eb962a0374144114745963546610e945248/src/index.ts#L50-L54

kazupon commented 3 years ago

That good point! vue-i18n-composable is vue-i18n Composition API for Vue 2.x. So, We only provide a few APIs, but from now on, vue-i18n-composable will support to back-port from vue-i18n@v9.x