Skip to content

Commit

Permalink
Merge pull request #486 from dcastil/docs/484/add-installation-instru…
Browse files Browse the repository at this point in the history
…ctions

Add installation instructions to configuration docs
  • Loading branch information
dcastil authored Oct 20, 2024
2 parents a57f245 + 9e61485 commit aac29dc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Configuration

## Installation

The tailwind-merge package is hosted on npm under the name [`tailwind-merge`](https://www.npmjs.com/package/tailwind-merge). There are lots of package managers for installing packages hosted on npm. Here are installation instructions for the most popular ones: [npm](https://npmjs.com), [yarn](https://yarnpkg.com), [pnpm](https://pnpm.io) and [bun](https://bun.sh).

```sh
npm add tailwind-merge
yarn add tailwind-merge
pnpm add tailwind-merge
bun add tailwind-merge
```

## Basic usage

If you're using Tailwind CSS without any extra config, you can use [`twMerge`](./api-reference.md#twmerge) right away. You can safely stop reading the documentation here.
Expand Down

0 comments on commit aac29dc

Please sign in to comment.