mix keen_web_multiselect.install (Keenmate.WebMultiselect v1.0.0-rc.1)

Copy Markdown View Source

Wires keen_web_multiselect into a standard esbuild-based Phoenix app.

mix keen_web_multiselect.install

It edits three things, idempotently (re-running is safe):

  • assets/js/app.js — imports the bundled multiselect.js and the KeenWebMultiselectHook, and registers the hook on your LiveSocket.
  • assets/css/app.css — imports the bundled multiselect.css.

Anything it can't confidently patch (an unusual LiveSocket setup, an importmap app with no assets/js/app.js, etc.) is left untouched and printed as a manual step instead — the task never rewrites code it doesn't understand.

Options

  • --dry-run — print what would change without writing any files.