mix bb_liveview.install (bb_liveview v0.2.6)

Copy Markdown View Source

Installs BB.LiveView dashboard into a Phoenix project

Imports the package's formatter rules and mounts the BB dashboard inside your Phoenix router.

If the project has no Phoenix router yet, the installer composes the minimal set of phx_install sub-tasks needed to support a LiveView dashboard — phx.install.core, phx.install.endpoint, phx.install.router, phx.install.live, phx.install.assets. It deliberately skips ecto, mailer, gettext, page, dashboard, heroicons, and components — robotics projects rarely want them, and bb_liveview brings its own UI assets.

Example

mix igniter.install bb_liveview
mix igniter.install bb_liveview --path /robot --robot MyApp.Arm

Options

  • --robot - The robot module (defaults to {AppPrefix}.Robot).
  • --path - URL path to mount the dashboard at (default /).
  • --auto-phoenix - When Phoenix is missing, install it without prompting.