Skip to content

Install for Vue

Terminal window
npm install pakdatakit-vue pakdatakit
<script setup lang="ts">
import { ref } from 'vue';
import { vPakInput } from 'pakdatakit-vue';
const cnic = ref('');
</script>
<template>
<input v-model="cnic" v-pak-input:cnic />
</template>

There are also useCnic, usePhone and useIban composables, and checkout and KYC forms. Vue 3.3+.

Package: npm