drab v0.10.5 mix drab.install View Source

Installs Drab in the current Phoenix application. It does inject lines of code to the existing .ex, .exs and *.eex files, so it is wise to commit before continuing.

It assumes that the Phoenix application was generated by mix phx.new. In case you have a non standard application, it is better to do it with manual install.

Usage:

mix drab.install