Skip to content

mustafacagri/vue-js-excel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Js Excel

Easily export your json data to excel or import your excel file to your json data...

alt text

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.

NPM

npm install vue-js-excel

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

About

Easily export your json data to excel or import your excel file to your json data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published