mix flowbite_phoenix.install (FlowbitePhoenix v0.1.2)
View SourceInstalls 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
- Adds Flowbite CSS and JavaScript to your root.html.heex template
- Creates example components demonstrating usage
- Optionally configures Gettext backend
- Provides usage instructions