docs(readme): installation

This commit is contained in:
07akioni 2021-04-19 21:56:19 +08:00
parent 006d39e650
commit 0f648f8649
2 changed files with 48 additions and 0 deletions

View File

@ -39,6 +39,30 @@ I try to make it not rather slow. At least select works with virtual list.
What's more, ..., no more. Just enjoy it.
## Installation
### npm
Use npm to install.
```bash
npm i -D naive-ui
```
### Fonts
```bash
npm i -D vfonts
```
### Icons
naive-ui recommends using [xicons](https://www.xicons.org) as icon library.
### Design Resources
Sorry, currently there is nothing.
## License
Naive UI is licensed under the [MIT license](https://opensource.org/licenses/MIT).

View File

@ -39,6 +39,30 @@ Naive UI 全量使用 Typescript 编写,和你的 Typescript 项目无缝衔
顺便一提,...,没有顺便了。祝你使用愉快。
## 安装
### npm
使用 npm 安装。
```bash
npm i -D naive-ui
```
### 字体
```bash
npm i -D vfonts
```
### 图标
naive-ui 建议使用 [xicons](https://www.xicons.org) 作为图标库。
### 设计资源
不好意思暂时没有。
## 许可
Naive UI 使用 [MIT license](https://opensource.org/licenses/MIT) 许可证书。