View Source mix tailwind (tailwind v0.2.2)

Invokes tailwind with the given args.

Usage:

$ mix tailwind TASK_OPTIONS PROFILE TAILWIND_ARGS

Example:

$ mix tailwind default --config=tailwind.config.js       --input=css/app.css       --output=../priv/static/assets/app.css       --minify

If tailwind is not installed, it is automatically downloaded. Note the arguments given to this task will be appended to any configured arguments.

Options

  • --runtime-config - load the runtime configuration before executing command

Note flags to control this Mix task must be given before the profile:

$ mix tailwind --runtime-config default