Skip to content

Commit

Permalink
Bugfix and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
wintermeyer committed Jan 28, 2021
1 parent 397dd61 commit c3fef9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A scaffold generator for new resources which uses [Tailwind CSS](https://tailwindui.com) and not the default [Milligram](https://milligram.io).

If you already have a Tailwind system up and running within your Phoenix application than you just have to add `{:phx_tailwind_generators, "~> 0.1.5"}` to your `mix.exs` and run a `mix deps.get` to get access to the `mix phx.gen.tailwind Blog Post posts title body:text` generator.
If you already have a Tailwind system up and running within your Phoenix application than you just have to add `{:phx_tailwind_generators, "~> 0.1.6"}` to your `mix.exs` and run a `mix deps.get` to get access to the `mix phx.gen.tailwind Blog Post posts title body:text` generator.

In case you don't have a Phoenix with Tailwind setup yet you have two choices:

Expand Down Expand Up @@ -144,7 +144,7 @@ by adding `phx_tailwind_generators` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:phx_tailwind_generators, "~> 0.1.5"}
{:phx_tailwind_generators, "~> 0.1.6"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion lib/mix/tasks/phx_gen_tailwind.ex
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ defmodule Mix.Tasks.Phx.Gen.Tailwind do

"""
defp tailwind_error_tag(form, field) do
def tailwind_error_tag(form, field) do
Enum.map(Keyword.get_values(form.errors, field), fn error ->
content_tag(:p, translate_error(error),
class: "mt-2 text-sm text-red-500",
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule PhxTailwindGenerators.MixProject do
def project do
[
app: :phx_tailwind_generators,
version: "0.1.5",
version: "0.1.6",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down

0 comments on commit c3fef9e

Please sign in to comment.