mix volt.install (Volt v0.10.1)

Copy Markdown View Source

Install and configure Volt in a Phoenix project

Replaces esbuild and tailwind with Volt — no Node.js required.

Example

mix igniter.install volt

This installer will:

  1. Remove :esbuild and :tailwind deps
  2. Remove config :esbuild and config :tailwind blocks
  3. Update assets.setup, assets.build, and assets.deploy aliases
  4. Add Volt build config to config/config.exs
  5. Add format and lint config to config/config.exs
  6. Add Volt.Formatter plugin to .formatter.exs
  7. Add Volt.DevServer plug to your endpoint
  8. Add the Volt watcher to config/dev.exs