mix mithril_ui.install (Mithril UI v0.1.2)
View SourceInstalls Mithril UI into your Phoenix application.
$ mix mithril_ui.install
This task will:
- Create Mithril UI configuration file
- Update Tailwind config with DaisyUI plugin
- Add @source directive to app.css for class scanning
- Add JavaScript hooks to app.js
- Update root layout with theme attributes
- Print next steps
Options
--no-tailwind- Skip Tailwind/DaisyUI configuration--no-js- Skip JavaScript hook installation--no-config- Skip config file generation--no-layout- Skip root layout modification--dry-run- Show what would be done without making changes
Examples
$ mix mithril_ui.install
$ mix mithril_ui.install --no-js
$ mix mithril_ui.install --dry-run