Installs PhoenixLiveCalendar into your Phoenix project.
$ mix phoenix_live_calendar.install
This task:
- Finds your
app.cssand adds an@sourcedirective so Tailwind scans PhoenixLiveCalendar's component templates - Finds your
app.js, adds the JS hook import, and registerswindow.PhoenixLiveCalendarHooksin your LiveSocket when it can do so safely
Both steps are idempotent — safe to run multiple times. When the task can't edit a file automatically it prints exact manual instructions instead of guessing.
Options
--css-path— Path to your app.css file (auto-detected if not specified)--js-path— Path to your app.js file (auto-detected if not specified)