29 lines
319 B
Markdown
29 lines
319 B
Markdown
---
|
|
nav: 指南
|
|
title: 快速开始
|
|
---
|
|
|
|
# 快速开始
|
|
|
|
## 安装
|
|
|
|
```bash
|
|
npm install rustui
|
|
```
|
|
|
|
## 使用
|
|
|
|
```tsx
|
|
import { Button } from 'RustUI'
|
|
|
|
export default () => (
|
|
<Button variant="solid" color="primary">
|
|
Hello RustUI
|
|
</Button>
|
|
)
|
|
```
|
|
|
|
## 主题
|
|
|
|
RustUI 支持通过 CSS 变量进行主题定制。
|