Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondinho authored May 11, 2024
1 parent 2838812 commit 7998959
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 @@ -12,6 +12,12 @@ A utility to efficiently merge [Tailwind CSS](https://tailwindcss.com) classes i
- Supports Tailwind v3.4
- Thread-safe LRU caching

## Prerequisites

| .NET SDK | Support
| :---: | :---: |
| [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0) | :heavy_check_mark: |

## Usage

Register the service in the DI container:
Expand Down Expand Up @@ -49,6 +55,12 @@ TwMerge.Merge("px-2 py-1 bg-red hover:bg-dark-red", "p-3 bg-[#B91C1C]")
// → "hover:bg-dark-red p-3 bg-[#B91C1C]"
```

## Contributing

Contributions are always welcome!

See [CONTRIBUTING.md](CONTRIBUTING.md) for ways to get started. Please adhere to this project's [CODE_OF_CONDUCT](CODE_OF_CONDUCT.md).

## Acknowledgements 🙏

This project is a C# adaptation of [tailwind-merge](https://github.com/dcastil/tailwind-merge) originally developed by [dcastil](https://github.com/dcastil).

0 comments on commit 7998959

Please sign in to comment.