mix sutra_ui.install (Sutra UI v0.2.0)

View Source

Installs Sutra UI into your Phoenix application.

$ mix sutra_ui.install

This task will:

  1. Add the CSS import to your assets/css/app.css
  2. Add use SutraUI to your web module

Runtime Hooks

Sutra UI uses Phoenix 1.8+ runtime colocated hooks. No JavaScript configuration is required - hooks are automatically injected at runtime. Just use the components and they work out of the box!

Options

  • --no-css - Skip CSS setup
  • --no-web - Skip web module setup
  • --dry-run - Show what would be changed without making changes