π Getting Started β
Welcome to Vue Currency Converter - Vue 3.x component for currency conversion with customizable styles and configurable API endpoints for data fetching.
π¦ Installation β
bash
npm i vue-currency-converter
# or
npm i vue-currency-converter
# or
pnpm i vue-currency-converter
Then import component and minimal styles in your .vue
file:
ts
import CurrencyConverter from "vue-currency-converter";
import "vue-currency-converter/style.css";
β‘ Quick Start β
vue
<script setup>
import { ref } from "vue";
import CurrencyConverter from "vue-currency-converter";
import "vue-currency-converter/style.css";
const model = ref();
</script>
<template>
<CurrencyConverter v-model="model" />
</template>
Thatβs it π You now have a fully functional currency conversion component.
π§Ύ Why this component? β
- Flexible by default β simple setup, full customization with slots, props, and styles
- Composability β integrate your own API, formatting logic, or currency lists
- DX-first β typed model, reactive v-model support, clear events & slots
- Performance-aware β lightweight core, minimal dependencies, fast updates