Skip to content

Commit 451b34d

Browse files
authored
Update TW merge config
1 parent bd52821 commit 451b34d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,9 @@ Install the gem using `bundle add tailwind_merge` and use this configuration to
327327

328328
```ruby
329329
ClassVariants.configure do |config|
330-
config.tw_merge = true # by default is false
331-
config.tw_merge_config = {} # by default is nil
330+
config.process_classes_with do |classes|
331+
TailwindMerge::Merger.new.merge(classes)
332+
end
332333
end
333334
```
334335

0 commit comments

Comments
 (0)