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

2.0.5 • 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>

Readme

Keywords

none

Package Sidebar

Install

npm i @importok/vue

Homepage

importok.io/

Weekly Downloads

252

Version

2.0.5

License

https://importok.io/pricing.html

Unpacked Size

5.01 kB

Total Files

4

Last publish

Collaborators

  • softius