Replies: 1 comment 4 replies
-
I'm not super well-versed in vue so this seems fine. Care to PR? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vue.js plugins like
router
,store
, andvuetify
export acreate{pluginName}
function that itself returns the plugin instance.For example, router has
createRouter
, etc.Could the same be done for vue-intl, to keep things consistent?
I know that
@formatjs/intl
already uses the namecreateIntl
, but that could probably be aliased.Options are passed to the
create
method, not toVue.use()
.Beta Was this translation helpful? Give feedback.
All reactions