English | 简体中文
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.
-
Install dependencies
The configuration side depend on the application side, please make sure that
drip-table
has been 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.min.css';
-
Use components in pages
return <DripTableGenerator />
Then the configuration side can be rendered normally, as the sample screenshot below:
-
Clone
-
Install dependencies
lerna bootstrap
-
Build project
lerna run build --stream --scope=@drip/drip-table-generator
For more commands, see DEVELOP .
MIT License