1.0.3 • Published 5 years ago
vue-js-excel v1.0.3
Vue Js Excel
Easily export your json data to excel or import your excel file to your json data...

Usage (Export to Excel)
In your App.vue or another vue file,
import {VueJsExcel} from 'VueJsExcel'
export default {
...
name: 'App',
mixins: [VueJsExcel],
...
}Then you can call the VueJsExcel like this wherever you want:
this.VueJsExcelExport(this.data, "File Name", this.columns)data: Your data source.
File Name: Your file name. And all blank / space charachters will be replaced with "_" (underscore). Output will be file_name.csv.
columns: Your header columns. columns paramater might be an array or null. If it is null, there will be no headers in your excel file.
Github
https://github.com/mustafacagri/vue-js-excel
NPM
npm install vue-js-excelProject setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildLints and fixes files
npm run lint