@importok/vue
TypeScript icon, indicating that this package has built-in type declarations

2.4.2 • Public • Published

importOK Vue.js Component

This is a Vue.js component for importOK.

Installation

npm install --save @importok/vue

Usage

<script>
import ImportokWizard from "@importok/vue";
 
export default {
    components: {
        ImportokWizard
    },
 
    methods: {
        /**
          * Push the provided record to the API
          * Check https://importok.io/docs/webhooks.html for more details
          */
        async saveRecord(record, meta) {}
    },
 
    data() {
        return {
            /**
              * Import fields to be mapped
              * Check https://importok.io/docs/fields.html for more details
              */
            fields: {}
        };
    }
};
</script>
<template>
    <ImportokWizard
      title="ImportOK Example for Vue"
      :fields="fields"
      sample-file="/sample.csv"
      @record-ready="saveRecord"
    />
</template>

/@importok/vue/

    Package Sidebar

    Install

    npm i @importok/vue

    Homepage

    importok.io/

    Weekly Downloads

    153

    Version

    2.4.2

    License

    https://importok.io/pricing.html

    Unpacked Size

    5.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • softius