This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data verification): data verification
data verification
- Loading branch information
1 parent
9cbbbce
commit a661d30
Showing
27 changed files
with
5,155 additions
and
1,677 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Luckysheet is an online spreadsheet like excel that is powerful, simple to confi | |
## Demo | ||
[Online demo](https://mengshukeji.github.io/LuckysheetDemo/) | ||
|
||
![Demo](/img/LuckysheetDemo.gif) | ||
![Demo](/LuckysheetDocs/img/LuckysheetDemo.gif) | ||
|
||
## Features | ||
|
||
|
@@ -113,23 +113,37 @@ npm run build | |
## Steps for usage | ||
|
||
### First step | ||
After `npm run build`, all files in the `dist` folder are copied to the project directory | ||
|
||
### Second step | ||
Introduce dependencies | ||
There are two ways to introduce dependencies | ||
|
||
#### CDN | ||
```html | ||
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/css/pluginsCss.css' /> | ||
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/plugins.css' /> | ||
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/luckysheet/dist/css/luckysheet.css' /> | ||
<script src="https://cdn.jsdelivr.net/npm/luckysheet/dist/plugins/js/plugin.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/luckysheet/dist/luckysheet.umd.js"></script> | ||
``` | ||
|
||
Note that `https://cdn.jsdelivr.net/npm/luckysheet/dist/luckysheet.umd.js` will pull the latest luckysheet code. If you want to specify the luckysheet version, please add the version number after the luckysheet , Such as: `https://cdn.jsdelivr.net/npm/[email protected]/dist/luckysheet.umd.js` | ||
|
||
If it is not convenient to access jsdelivr.net, you can also import it locally | ||
|
||
#### Import locally | ||
After `npm run build`, all files in the `dist` folder are copied to the project directory | ||
```html | ||
<link rel='stylesheet' href='./plugins/css/pluginsCss.css' /> | ||
<link rel='stylesheet' href='./plugins/plugins.css' /> | ||
<link rel='stylesheet' href='./css/luckysheet.css' /> | ||
<script src="./plugins/js/plugin.js"></script> | ||
<script src="./luckysheet.umd.js"></script> | ||
``` | ||
### Third step | ||
### Second step | ||
Specify a table container | ||
```html | ||
<div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:100%;left: 0px;top: 0px;"></div> | ||
``` | ||
### Fourth step | ||
### Third step | ||
Create a table | ||
```javascript | ||
<script> | ||
|
@@ -153,7 +167,7 @@ An example of a Luckysheet file is as follows, the table contains 3 sheets:` | |
luckysheetfile = [{sheet1 settings}, {sheet2 settings}, {sheet3 settings}]` | ||
Equivalent to 3 sheets of excel | ||
|
||
![excel sheet](/docs/.vuepress/public/img/excel.png) | ||
![excel sheet](/LuckysheetDocs/img/excel.png) | ||
|
||
An example of a sheet in the file is as follows: | ||
```javascript | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.