SelectoMix.ComponentsIntegrate (selecto_mix v0.4.7)

Integrates SelectoComponents JavaScript hooks and Tailwind styles into a host Phoenix application's assets/js/app.js and assets/css/app.css.

This module holds the actual integration logic so it can be called directly (e.g. from mix selecto.install) without going through Mix.Task.run/2. Mix.Tasks.Selecto.Components.Integrate is a thin CLI wrapper around run/1.

Summary

Functions

Runs the app.js/app.css integration (and the Chart.js package.json check).

Functions

run(opts \\ [])

Runs the app.js/app.css integration (and the Chart.js package.json check).

Options

  • :check - report what would change without writing files
  • :force - re-patch even if already configured