|
@@ -5,10 +5,12 @@ jQuery excelPreview Plugin (https://github.com/sumile-ting/excel-preview)
|
|
|
|
|
|
Install excel-preview and dependencies
|
|
|
=====================================
|
|
|
-
|
|
|
+```bash
|
|
|
npm install excel-preview --save
|
|
|
-Include jquery and table2excel in your page
|
|
|
+```
|
|
|
|
|
|
+Include jquery and table2excel in your page
|
|
|
+------------------------------------------
|
|
|
```html
|
|
|
<script src="node_modules/jquery/dist/jquery.min.js" type="text/javascript"></script>
|
|
|
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js" type="text/javascript"></script>
|
|
@@ -29,19 +31,18 @@ Using the plugin
|
|
|
$("#yourExcelTable").excelPreview({});
|
|
|
```
|
|
|
|
|
|
-[index.html](https://github.com/sumile-ting/excel-preview/index.html)
|
|
|
+[index.html](https://github.com/sumile-ting/excel-preview/blob/master/index.html)
|
|
|
|
|
|
Contains a simple HTML file to demonstrate the plugin.
|
|
|
|
|
|
-[dist/]
|
|
|
+[dist/](https://github.com/sumile-ting/excel-preview/tree/master/js/dist)
|
|
|
This is where the generated files are stored once gulp runs.
|
|
|
|
|
|
-[gulpfile.js]
|
|
|
-===========
|
|
|
+[gulpfile.js](https://github.com/sumile-ting/excel-preview/blob/master/gulpfile.js)
|
|
|
Contains all automated tasks using fulp.
|
|
|
|
|
|
|
|
|
-[package.json]
|
|
|
+[package.json](https://github.com/sumile-ting/excel-preview/blob/master/package.json)
|
|
|
Specify all dependencies loaded via Node.JS.
|
|
|
|
|
|
Check NPM for more details.
|