mix livepanels.install (livepanels v0.1.0)

Copy Markdown View Source

Configures a Phoenix app to import the prebuilt LivePanels browser package from the Mix dependency.

mix livepanels.install
mix livepanels.install --package assets/package.json
mix livepanels.install --check

The task writes a livepanels file dependency into the application assets/package.json. Application asset builds then import the browser hook and CSS from the package root instead of copying LivePanels source into the application tree.