e766071ae9 | ||
---|---|---|
.. | ||
src | ||
.eslintrc.js | ||
.fatherrc.ts | ||
DEVELOP.md | ||
DEVELOP.zh-CN.md | ||
README.md | ||
README.zh-CN.md | ||
package.json | ||
tsconfig.json |
README.md
Drip Table Generator
English | 简体中文
Introduction
DripTableGenerator
is a visual tool for producing configuration data that meets the JSON Schema
standard in order to sent to DripTable
for rendering a table and columns.
Getting Start
-
Install dependencies
The configuration side depend on the application side, please make sure that
drip-table
anddrip-table-driver-{drivername}
are installed before installing dependencies.yarn
yarn add drip-table-generator
npm
npm install --save drip-table-generator
-
Import at the entrance of a file
import DripTableGenerator from 'drip-table-generator'; import 'drip-table-generator/dist/index.css';
-
Use components in pages
return <DripTableGenerator />
Then the configuration side can be rendered normally, as the sample screenshot below:
development
-
Clone
-
Install dependencies
lerna bootstrap
-
Build project
lerna run build --stream --scope=@drip/drip-table-generator
For more commands, see DEVELOP .
License
MIT License