tw_merge

Elixir utilities to merge TailwindCss classes


License
MIT

Documentation

TwMerge

Utilities to merge TailwindCss classes.

This library is extracted from Turboprop

Why another fork?

  • 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.

Installation

  1. Adding tw_merge to your list of dependencies in mix.exs:
def deps do
  [
    {:tw_merge, "~> 0.1.0"}
  ]
end
  1. Add TwMerge.Cache to children list in your application.ex
    children = [
      ....
      TwMerge.Cache,
    ]