You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our situation, we don't want to register the plugin globally as most of the pages are not using it. Therefore we go with directive solution which allows you to import this currency input on demand. However, this means we need to implement our own parseCurrency method and we can't config the default currency and locale (The default locale configuration is passed in as a parameter when the library is registered globally). When we creating our own parseCurrency function, we find that parse and createCurrencyFormat in the parseCurrency implementation is not exported.
I have created a pull request to export these two functions. #26
The text was updated successfully, but these errors were encountered:
dm4t2
changed the title
Export the parse and createCurrencyFormat function
Allow usage of parseCurrency without global Vue plugin installation
Sep 1, 2019
@dm4t2 seems to be this parseCurruncy method is depreciated what you call this function in 1.17.3 and version 3?
this is how i Used to access it in older vertions
In our situation, we don't want to register the plugin globally as most of the pages are not using it. Therefore we go with directive solution which allows you to import this currency input on demand. However, this means we need to implement our own parseCurrency method and we can't config the default currency and locale (The default locale configuration is passed in as a parameter when the library is registered globally). When we creating our own
parseCurrency
function, we find thatparse
andcreateCurrencyFormat
in theparseCurrency
implementation is not exported.I have created a pull request to export these two functions. #26
The text was updated successfully, but these errors were encountered: