API Reference hologram v#0.9.2

Copy Markdown View Source

Modules

Raised when an asset can't be found.

Raised when a page or a component can't be compiled.

Raised when a page param is invalid.

Public API for Hologram's realtime layer.

A single broadcast entry queued on Hologram.Server's broadcasts field.

Raised when template markup is invalid.

Mix Tasks

Builds Hologram project JavaScript bundles, the call graph of the code, PLTs needed by the runtime and PLTs needed to speed up future compilation.

Starts the application with Hologram enabled.

Prints the list of automatically transpiled Elixir MFAs used by the Hologram client runtime (manually ported Elixir MFAs are excluded).

Calculates the JavaScript size of each Elixir function that is included in the specified page module bundle. The results are sorted by size.

Prints paths from runtime entry MFAs to the given destination MFA.

Syncs an AGENTS.md file with Hologram AI rules.

Syncs a CLAUDE.md file with Hologram AI rules.

Prints the list of page routes, ordered by route path.

Checks if any test scripts have invalid file names. File name is valid if it ends with "_test" suffix and has ".exs" extension. If there are any invalid file names, the task exits with code 1. Support dir and text_helper.exs file are ignored.