feat: DEVELOP-Translation jump

This commit is contained in:
XPF-821 2021-12-17 18:21:07 +08:00
parent 9f45b53b36
commit 18f21fafe4
3 changed files with 37 additions and 26 deletions

View File

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

View File

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

View File

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