---
title: 快速开始
order: 1
group:
  path: /docs
nav:
  title: 文档
  path: /docs
---

## 安装

```bash
npm install git+ssh://git@git.hyperchain.cn:chris/baas-ui.git --save
```

或者

```bash
yarn add git+ssh://git@git.hyperchain.cn:chris/baas-ui.git
```

> 先以 git 仓库的形式安装，等组件库稳定下来后，再发布到公司私有 npm 仓库中

## 简单使用

```js
import React from 'react';
import { Button } from 'baas-ui';

export default () => (
  <div>
    <Button type="primary">按钮</Button>
  </div>
);
```
