Skip to content

Commit

Permalink
docs: add installation section (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
oumarbarry authored Sep 20, 2023
1 parent 8c48bf6 commit 6efd2d7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@

Vite plugin to transform SVGs into React components. Uses [svgr](https://github.com/gregberge/svgr) under the hood.

## Installation
```sh
# npm
npm install --save-dev vite-plugin-svgr

# yarn
yarn add -D vite-plugin-svgr

# pnpm
pnpm add -D vite-plugin-svgr
```

## Usage

```js
Expand Down

0 comments on commit 6efd2d7

Please sign in to comment.