vue-xlsx-parser

1.0.2 • Public • Published

Introduction

vue-xlsx-parser is a useful vue parser for converting Excel XLSX spreadsheets to json

Installation

$ npm install vue-xlsx-parser --save
//or 
$ yarn add vue-xlsx-parser --save

Usage examples

usage in vue

//template

<XlsxParse @update="data => handleUpdateListData(data)"></XlsxParse>
//script

import XlsxParse from "vue-xlsx-parser/XlsxParse.vue";

export default {
  data() {
    return {
      listData: []
    };
  },
  methods: {
    handleUpdateListData(data) {
      this.listData = data;
    }
  },
  components: {
    XlsxParse
  }
}

Readme

Keywords

Package Sidebar

Install

npm i vue-xlsx-parser

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

5.48 kB

Total Files

3

Last publish

Collaborators

  • panyasi