~fancycade/rebar3_tailwind

e6b349eff789ef4145e0161c15f29523fee4aa3d — Harley Swick 9 months ago 5d708e8
Fix whitespace in README
1 files changed, 2 insertions(+), 5 deletions(-)

M README.md
M README.md => README.md +2 -5
@@ 20,18 20,15 @@ Add the plugin to your rebar config:
Set options:

    {tailwind_opts, [{input, "./apps/hello_world/priv/input.css"},
      		     {output, "./_build/default/lib/hello_world/priv/static/assets/output.css"}]}.
                     {output, "./_build/default/lib/hello_world/priv/static/assets/output.css"}]}.

Set the pre compile provider hook:

    {provider_hooks, [
                     {pre, [{compile, {tailwind, compile}}
    		           ]}
                           ]}
                     ]}.

Then just compile your project:

    $ rebar3 compile
    ===> Fetching rebar3_tailwind
    ===> Compiling rebar3_tailwind
    <Plugin Output>