egomolka / vue-money-format

A Vue component that formats currency.
MIT License
15 stars 8 forks source link

Not compactible with NuxtJs #4

Open zama-ng opened 5 years ago

IdealPress commented 4 years ago

Hi @zama-ng or for anyone else coming to this in future – this is just a quick note to say I've managed to implement the component into Nuxt.js with no issues.

There is no need to include it asa module within the nuxt.config.js file (as is the case for other Vue/Nuxt utilities) which might be causing confusion(?). However, you can simply import it from your node_modules using import MoneyFormat from 'vue-money-format' as is written in the docs and as you would for any other component.