mix flowbite_phoenix.install (FlowbitePhoenix v0.1.2)

View Source

Installs FlowbitePhoenix in a Phoenix application.

This task configures your Phoenix application to use FlowbitePhoenix components by adding the necessary CSS and JavaScript assets, and optionally generating example components.

mix flowbite_phoenix.install

Options

  • --no-assets - Skip adding Flowbite CSS/JS assets to root.html.heex
  • --no-examples - Skip generating example components
  • --gettext - Configure Gettext backend for translations

What it does

  1. Adds Flowbite CSS and JavaScript to your root.html.heex template
  2. Creates example components demonstrating usage
  3. Optionally configures Gettext backend
  4. Provides usage instructions