Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Jan 27, 2022
1 parent dbe78a4 commit d4d719e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@ Used to generate svg sprite map.

**vite version:** >=2.0.0

```
```bash
yarn add vite-plugin-svg-icons -D
```

or

```
# or
npm i vite-plugin-svg-icons -D
# or
pnpm install vite-plugin-svg-icons -D
```

## Usage
Expand Down
12 changes: 5 additions & 7 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@
- **预加载** 在项目运行时就生成所有图标,只需操作一次 dom
- **高性能** 内置缓存,仅当文件被修改时才会重新生成

## 安装 (yarn or npm)
## 安装

**node version:** >=12.0.0

**vite version:** >=2.0.0

```
```bash
yarn add vite-plugin-svg-icons -D
```

or

```
# or
npm i vite-plugin-svg-icons -D
# or
pnpm install vite-plugin-svg-icons -D
```

## 使用
Expand Down

0 comments on commit d4d719e

Please sign in to comment.