Merge pull request #10 from XPF-821/master

feat: DEVELOP-Translation jump
This commit is contained in:
helloqian12138 2021-12-17 18:38:45 +08:00 committed by GitHub
commit b39f046dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 26 deletions

View File

@ -2,6 +2,8 @@
## Before Development
English | [简体中文](./DEVELOP.zh-CN.md)
**Knowledge points that you need to master before developing**
### What is JSON Schema?
@ -21,17 +23,19 @@
- install `git`, `node`, `yarn`. version requirement: `node` >=13.14.0, `yarn` >= 1.0.0
- configure [NPM](https://registry.npmjs.com/) source if needed.
> configure NPM source
```sh
npm config set registry https://registry.npmjs.com/
```
> configure NPM source
> login
```shell
npm adduser (--registry=https://registry.npmjs.com/)
```
```sh
npm config set registry https://registry.npmjs.com/
```
- Download codes
> login
```shell
npm adduser (--registry=https://registry.npmjs.com/)
```
- Download codes
## Start
@ -42,6 +46,7 @@ lerna bootstrap
```
> run
```
yarn start
```

View File

@ -2,9 +2,11 @@
## 开发前
简体中文 | [English](./DEVELOP.md)
**在开发前你需要掌握的知识点**
### 什么是JSON Schema
### 什么是 JSON Schema
1. `JSON Schema` 本身就是一种数据结构,可以清晰的描述 `JSON` 数据的结构。是一种描述 `JSON` 数据的 `JSON` 数据。
2. [JSON Schema 官方文档](http://json-schema.org/)
@ -21,16 +23,19 @@
- 安装 `git`, `node`, `yarn`, 其中 `node` 版本 >=13.14.0`yarn` 版本 >=1.0.0
- 配置 [NPM](https://registry.npmjs.com/) 源, 如果有必要的话。
> 配置NPM源
```sh
npm config set registry https://registry.npmjs.com/
```
> 配置 NPM 源
> NPM 登录
```shell
npm adduser (--registry=https://registry.npmjs.com/)
```
> 按照提示输入用户名密码即可
```sh
npm config set registry https://registry.npmjs.com/
```
> NPM 登录
```shell
npm adduser (--registry=https://registry.npmjs.com/)
```
> 按照提示输入用户名密码即可
- 源码下载
@ -38,15 +43,15 @@
1. 安装依赖
```sh
lerna bootstrap
```
```sh
lerna bootstrap
```
2. 启动项目
```
yarn start
```
```
yarn start
```
3. 浏览器访问: `http://localhost:8000` 即可。
@ -94,6 +99,7 @@
## 官网发布
> 构建打包
```
yarn run build:docs
```

View File

@ -16,7 +16,7 @@ title: 基础实例
* hideActions: ["CSB"]
*/
import React from "react";
import { DripTable } from "drip-table";
import DripTable from "drip-table";
import DripTableDriverAntDesign from "drip-table-driver-antd";
import "antd/dist/antd.css";
import "drip-table/index.css";