Skip to content

Commit

Permalink
docs: improve icons installations with all package managers
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed May 16, 2023
1 parent ab67659 commit b3b349a
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/content/1.getting-started/3.theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,22 @@ Unlike the official [nuxt-icon](https://github.com/nuxt-modules/icon/) module, t

However, you will need to install the icon packages you want to use.

```sh
yarn add --dev @iconify/json-{collection_name}
::code-group

```bash [yarn]
yarn add -D @iconify/json-{collection_name}
```

```bash [npm]
npm install -D @iconify/json-{collection_name}
```

```sh [pnpm]
pnpm i -D @iconify/json-{collection_name}
```

::

You can easily replace all the default icons of the components in your `app.config.ts`.

```ts [app.config.ts]
Expand Down

0 comments on commit b3b349a

Please sign in to comment.