Skip to content

ynishi/vuecsv

Repository files navigation

vuecsv

  • CSV components for Vue.js

Use

  • sample is in index.cdn.html
npm run buildcdn && open dist/index.cdn.html
  • CDN
<link rel="stylesheet" href="https://unpkg.com/vuecsv/dist/vuecsv.min.css">
<script type="text/javascript" src="https://unpkg.com/vuecsv/dist/vuecsv.min.js"></script>

Methods

name desc
convert convert Json(with/without header) to CSV
download download converted data

Properties

name desc default
title Button title Download
filename Downloaded filename download.csv
convOption convert Json to CSV options(compatible papaparse) undefined
header header string of CSV(string map) undefined
dataJson contents of CSV(array, compatible papaparse) undefined

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

LICENSE

  • This code is released under the MIT License, see LICENSE.
  • (C)2018 Yutaka Nishimura

About

CSV components for Vue.js

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors