💰 v-money v2

Modern Vue 3 currency input with TypeScript support

Basic Usage

Value: {{ basicAmount }}
<input v-model.lazy="amount" v-money="config" />

Component Usage

Value: {{ componentAmount }}
<v-money v-model="price" v-bind="config" />

Custom Format (Brazilian Real)

Value: {{ brlAmount }}
config: { decimal: ',', thousands: '.', prefix: 'R$ ', precision: 2 }

Euro Format

Value: {{ eurAmount }}
config: { decimal: '.', thousands: ',', prefix: '€ ', precision: 2 }

High Precision

Value: {{ cryptoAmount }}
config: { precision: 4, prefix: '', suffix: ' BTC' }

Percentage

Value: {{ percentAmount }}
config: { precision: 2, prefix: '', suffix: ' %' }