mirror of
https://github.com/ruilisi/fortune-sheet.git
synced 2025-01-05 10:27:04 +08:00
docs: README
Update readme with improved installation instructions for example for pnpm
This commit is contained in:
parent
839fc3d541
commit
2a99c0a26c
25
README-zh.md
25
README-zh.md
@ -99,13 +99,30 @@
|
||||
## 快速开始 (react)
|
||||
|
||||
### 安装库
|
||||
```shell
|
||||
yarn add @fortune-sheet/react
|
||||
```
|
||||
或使用 npm:
|
||||
|
||||
<details open>
|
||||
<summary>使用 npm</summary>
|
||||
|
||||
```shell
|
||||
npm install @fortune-sheet/react
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>使用 pnpm</summary>
|
||||
|
||||
```shell
|
||||
pnpm install @fortune-sheet/react
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>使用 yarn</summary>
|
||||
|
||||
```shell
|
||||
yarn add @fortune-sheet/react
|
||||
```
|
||||
</details>
|
||||
|
||||
### 创建一个HTML容器
|
||||
```html
|
||||
|
25
README.md
25
README.md
@ -102,13 +102,30 @@ See detailed documentation at [fortune-sheet-doc](https://ruilisi.github.io/fort
|
||||
## Get started (react)
|
||||
|
||||
### Download and install the library
|
||||
```shell
|
||||
yarn add @fortune-sheet/react
|
||||
```
|
||||
or using npm:
|
||||
|
||||
<details open>
|
||||
<summary>Using npm</summary>
|
||||
|
||||
```shell
|
||||
npm install @fortune-sheet/react
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Using pnpm</summary>
|
||||
|
||||
```shell
|
||||
pnpm install @fortune-sheet/react
|
||||
```
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Using yarn</summary>
|
||||
|
||||
```shell
|
||||
yarn add @fortune-sheet/react
|
||||
```
|
||||
</details>
|
||||
|
||||
### Create an HTML placeholder
|
||||
```html
|
||||
|
Loading…
Reference in New Issue
Block a user