# `LiveVue.SSR.QuickBEAM`
[🔗](https://github.com/Valian/live_vue/blob/v1.1.0/lib/live_vue/ssr/quick_beam.ex#L1)

Implements SSR using an embedded [QuickBEAM](https://hex.pm/packages/quickbeam) JavaScript runtime.

Unlike `LiveVue.SSR.NodeJS`, this module runs JavaScript inside the BEAM
process — no external Node.js installation required.

## Setup

1. Add `quickbeam` to your dependencies:

    ```elixir
    {:quickbeam, "~> 0.8"}
    ```

2. Configure production SSR:

    ```elixir
    # config/prod.exs
    config :live_vue,
      ssr_module: LiveVue.SSR.QuickBEAM
    ```

3. Add to your supervision tree in `application.ex`:

    ```elixir
    children = [
      LiveVue.SSR.QuickBEAM,
      # ...
    ]
    ```

The module loads the SSR bundle from the path configured via `:ssr_filepath`
(default `"./static/server.mjs"`), relative to the application's `priv` directory.

# `child_spec`

# `start_link`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
