Skip to content
CSV components for Vue.js
JavaScript Vue HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build logo and utils Jan 16, 2018
config update config/index.js Jan 17, 2018
dist add dist dir(.keep) Jan 17, 2018
src update index.js support option Jan 20, 2018
test/unit update CsvDownload.spec.js support option Jan 20, 2018
.babelrc Initial commit. Jan 14, 2018
.editorconfig Initial commit. Jan 14, 2018
.eslintignore Initial commit. Jan 14, 2018
.eslintrc.js Initial commit. Jan 14, 2018
.gitignore add dist dir(.keep) Jan 17, 2018
.npmignore publish npm Jan 15, 2018
.postcssrc.js Initial commit. Jan 14, 2018
.travis.yml support travis Jan 17, 2018
LICENSE Initial commit. Jan 14, 2018
README.md update README Jan 21, 2018
index.html update index Jan 16, 2018
package-lock.json update packages Jan 14, 2018
package.json v0.0.10 Jan 20, 2018
yarn.lock update yarn.lock support option Jan 20, 2018

README.md

vuecsv

Build Status

  • CSV components for Vue.js

Demo

Use

  • sample is in index.cdn.html
npm run build && open dist/index.html
  • yarn
yarn && open dist/index.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
options convert and download options(compatible papaparse) default papaparse
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.

CONTRIBUTING

  • Welcome to contribute!

Start

  • At first, make issue to start discuss, new feature, bug, support, or about any type of activity.

develop

  • fork repository.
  • clone repository.
  • build as above.
  • coding.
  • push your repository.
  • make pull request with issue No.

LICENSE

  • This code is released under the MIT License, see LICENSE.
  • (C)2018 Yutaka Nishimura
You can’t perform that action at this time.