Mix tasks to help customise a newly generated Phoenix app.
Requires Phoenix 1.4 or above (configured with webpack).
mix phx.new --version
Phoenix v1.4.8- Install the
custom_phxarchive (adds new mix tasks).
mix archive.install https://github.com/mutablestate/custom_phx/raw/master/archives/custom_phx.ez- Create a new Phoenix project (tested with default options).
mix phx.new APP_NAME
Fetch and install dependencies? [Yn] y
cd APP_NAME- Install Tailwindcss (config, templates, HTML generator task).
mix tailwind.install- (optional) Run the Tailwindcss HTML generator (instead of
mix phx.gen.html).
mix tailwind.gen.html Accounts User users name:string email:string