diff --git a/compositor.json b/compositor.json index 97d302af62..52bc23c161 100644 --- a/compositor.json +++ b/compositor.json @@ -75,7 +75,7 @@ "metadata": { "source": "github.readme" }, - "html": "

\n \n \n \n

\n\n\n

\n\n

\n

\n\n\n (English)\n(中文)

\n

一套企业级的 UI 设计语言和 React 实现。

\n

README in English

\n

特性

\n\n

支持环境

\n\n

参与共建

\n

antd 是一个开源项目,我们欢迎社区参与共建。如果你对此项目感兴趣,有 很多方式 进行参与。你可以 watch 这个仓库,加入 issue 中的讨论,以及尝试实现一些 已接受的特性。我们会给予有活跃贡献的社区成员 collaborator 权限

\n

安装

\n
npm install antd

示例

\n
import { DatePicker } from 'antd';\nReactDOM.render(<DatePicker />, mountNode);

引入样式:

\n
import 'antd/dist/antd.css';  // or 'antd/dist/antd.less'

按需加载可通过此写法 import DatePicker from 'antd/lib/date-picker' 或使用插件 babel-plugin-import

\n

TypeScript

\n
// tsconfig.json\n{\n  "compilerOptions": {\n    "moduleResolution": "node",\n    "jsx": "preserve",\n    "allowSyntheticDefaultImports": true\n  }\n}
\n

注意:

\n\n
\n

国际化

\n

参考 国际化文档

\n

链接

\n\n

本地开发

\n
$ git clone git@github.com:ant-design/ant-design.git\n$ npm install\n$ npm start

打开浏览器访问 http://127.0.0.1:8001 ,更多本地开发文档参见: https://github.com/ant-design/ant-design/wiki/Development

\n

如何贡献

\n

在任何形式的参与前,请先阅读 贡献者文档。如果你希望参与贡献,欢迎 Pull Request,或给我们 报告 Bug

\n
\n

强烈推荐阅读 《提问的智慧》《如何向开源社区提问题》《如何有效地报告 Bug》,更好的问题更容易获得帮助。

\n
\n

社区互助

\n

如果您在使用的过程中碰到问题,可以通过下面几个途径寻求帮助,同时我们也鼓励资深用户通过下面的途径给新人提供帮助。

\n

通过 Stack Overflow 或者 Segment Fault 提问时,建议加上 antd 标签。

\n
    \n
  1. Stack Overflow(英文)
  2. \n
  3. Segment Fault(中文)
  4. \n
  5. \n
\n" + "html": "

\n \n \n \n

\n\n\n

\n\n

\n

\n\n\n (English)\n(中文)

\n

An enterprise-class UI design language and React-based implementation.

\n

中文 README

\n

Features

\n\n

Environment Support

\n\n

Let's build a better antd together

\n

antd is an open source project, improvements are welcomed. If you are interested in contributing to antd, you can watch this repository, join in discussion, or try to implement some features which have been accepted. Actually, there are many ways to contribute. And we are always happy to offer collaborator permission for some active contributors.

\n

Install

\n
npm install antd

Usage

\n
import { DatePicker } from 'antd';\nReactDOM.render(<DatePicker />, mountNode);

And import style manually:

\n
import 'antd/dist/antd.css';  // or 'antd/dist/antd.less'

Use modularized antd

\n\n

TypeScript

\n
// tsconfig.json\n{\n  "compilerOptions": {\n    "moduleResolution": "node",\n    "jsx": "preserve",\n    "allowSyntheticDefaultImports": true\n  }\n}
\n

Note:

\n\n
\n

Internationalization

\n

See i18n.

\n

Links

\n\n

Development

\n
$ git clone git@github.com:ant-design/ant-design.git\n$ npm install\n$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at https://github.com/ant-design/ant-design/wiki/Development .

\n

Contributing

\n

We welcome all contributions, please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)

\n" }, { "component": "footer",