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

Implements SSR by making a POST request to `http://{:vite_host}/ssr_render`.

`ssr_render` is implemented as a Vite plugin. You have to add it to the `vite.config.js` plugins section.

```javascript
import liveVuePlugin from "live_vue/vitePlugin"

{
  publicDir: "static",
  plugins: [vue(), liveVuePlugin()],
  // ...
}
```

# `render`

# `vite_path`

A handy utility returning path relative to Vite JS host.

---

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