sheetjs-clone/demos/vue
SheetJS ad47cb433c Math.LOG2E precision issue + new demos [ci skip]
- swift + jsc
- java + rhino
- XMLHttpRequest and friends
2017-09-05 01:34:30 -04:00
..
index.html vue demo and typing fixes [ci skip] 2017-06-19 03:14:18 -04:00
README.md vue demo and typing fixes [ci skip] 2017-06-19 03:14:18 -04:00
SheetJS-vue.js Math.LOG2E precision issue + new demos [ci skip] 2017-09-05 01:34:30 -04:00
xlsx.full.min.js vue demo and typing fixes [ci skip] 2017-06-19 03:14:18 -04:00

VueJS 2

The xlsx.core.min.js and xlsx.full.min.js scripts are designed to be dropped into web pages with script tags e.g.

<script src="xlsx.full.min.js"></script>

Strictly speaking, there should be no need for a Vue.JS demo! You can proceed as you would with any other browser-friendly library.

This demo directly generates HTML using sheet_to_html and adds an element to a pregenerated template. It also has a button for exporting as XLSX.

Single File Components

For Single File Components, a simple import XLSX from 'xlsx' should suffice. The webpack demo includes a sample webpack.config.js.