drip-table/packages/drip-table-generator
helloqian12138 e766071ae9 release: drip-table-generator 1.1.0 2021-12-20 22:10:36 +08:00
..
src feat: generator add function of getDataSource from ref 2021-12-20 21:45:05 +08:00
.eslintrc.js init: drip-table-generator 1.0.0 2021-12-13 18:07:28 +08:00
.fatherrc.ts build: bind eslint plugin to generator 2021-12-20 21:46:38 +08:00
DEVELOP.md docs: change readme to instruct how to use 2021-12-14 17:50:13 +08:00
DEVELOP.zh-CN.md docs: change readme to instruct how to use 2021-12-14 17:50:13 +08:00
README.md docs: change readme to instruct how to use 2021-12-14 17:50:13 +08:00
README.zh-CN.md docs: change readme to instruct how to use 2021-12-14 17:50:13 +08:00
package.json release: drip-table-generator 1.1.0 2021-12-20 22:10:36 +08:00
tsconfig.json init: drip-table-generator 1.0.0 2021-12-13 18:07:28 +08:00

README.md

Drip Table Generator

English | 简体中文

npm version node yarn document PRs Welcome

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

  1. Install dependencies

    The configuration side depend on the application side, please make sure that drip-table and drip-table-driver-{drivername} are installed before installing dependencies.

    yarn

    yarn add drip-table-generator
    

    npm

    npm install --save drip-table-generator
    
  2. Import at the entrance of a file

    import DripTableGenerator from 'drip-table-generator';
    import 'drip-table-generator/dist/index.css';
    
  3. Use components in pages

    return <DripTableGenerator />
    

    Then the configuration side can be rendered normally, as the sample screenshot below:

    drip-table-generator

development

  1. Clone

  2. Install dependencies

    lerna bootstrap
    
  3. Build project

    lerna run build --stream --scope=@drip/drip-table-generator
    

For more commands, see DEVELOP .

License

MIT License