Introduction
Vue Formulate Currency is a Vue Formulate plugin that provides the
vue-currency-input UI into a FormulateInput.
Installation
NPM
npm install @vicenterusso/vue-formulate-currency
Yarn
yarn add @vicenterusso/vue-formulate-currency
Add to Vue
As with any Vue Formulate plugin:
import Vue from 'vue'
import VueFormulate from '@braid/vue-formulate'
import FormulateVueCurrencyPlugin from '@vicenterusso/vue-formulate-currency'
Vue.use(VueFormulate, {
plugins: [ FormulateVueCurrencyPlugin ]
})
Usage
Use currency as the input type.
<FormulateInput type="currency" />
It works as any other FormulateInput.