From 9e6148512e5a6cb497a462a2620744f6d52442d3 Mon Sep 17 00:00:00 2001 From: Dany Castillo <31006608+dcastil@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:18:01 +0200 Subject: [PATCH] add installation instructions to configuration docs --- docs/configuration.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 44d92e6..2960917 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -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.