Skip to content
mix tasks to customise a newly generated Phoenix app.
Branch: master
Clone or download
Latest commit cb6089d Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archives Update archives Jun 25, 2019
lib/mix/tasks Use TW to cleanup classes Jun 25, 2019
priv/tailwind.install Use TW to cleanup classes Jun 25, 2019
test initial commit Jun 15, 2019
.formatter.exs Cleanup and document Jun 18, 2019
.gitignore Elixir 1.9 Jun 25, 2019
LICENSE.md Cleanup and document Jun 18, 2019
README.md Update README and archives Jun 22, 2019
mix.exs Elixir 1.9 Jun 25, 2019

README.md

CustomPhx

Mix tasks to help customise a newly generated Phoenix app.

Requirements

Requires Phoenix 1.4 or above (configured with webpack).

mix phx.new --version
Phoenix v1.4.8

Usage

  1. Install the custom_phx archive (adds new mix tasks).
mix archive.install https://github.com/mutablestate/custom_phx/raw/master/archives/custom_phx.ez
  1. Create a new Phoenix project (tested with default options).
mix phx.new APP_NAME

Fetch and install dependencies? [Yn] y

cd APP_NAME
  1. Install Tailwindcss (config, templates, HTML generator task).
mix tailwind.install
  1. (optional) Run the Tailwindcss HTML generator (instead of mix phx.gen.html).
mix tailwind.gen.html Accounts User users name:string email:string

License

MIT

You can’t perform that action at this time.