View Source mix unocss (unocss v0.61.5)

Invokes unocss with the given args.

Usage:

$ mix unocss TASK_OPTIONS PROFILE UNO_ARGS

Example:

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

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

options

Options

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

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

$ mix unocss --runtime-config default