Utilities to merge TailwindCss classes.
This library is extracted from Turboprop
-
tails
has been soft deprecated because it has some issues which is not fixed. As discussed in Elixir Forum -
turboprop
is archived too, so I create another repository and extract code to merge TailwindCss only.
- Adding
tw_merge
to your list of dependencies inmix.exs
:
def deps do
[
{:tw_merge, "~> 0.1.0"}
]
end
- Add
TwMerge.Cache
to children list in yourapplication.ex
children = [
....
TwMerge.Cache,
]