# `LiveVue.Components`
[🔗](https://github.com/Valian/live_vue/blob/v1.2.1/lib/live_vue/components.ex#L1)

Macros to improve the developer experience of crossing the Liveview/Vue boundary.

# `__using__`
*macro* 

Generates functions local to your current module that can be used to render Vue components.
TODO: This could perhaps be optimized to only read the files once per compilation.

These shortcut names are also registered so `LiveVue.SharedPropsView` can inject shared
props and `v-socket` into `<.ComponentName>` tags during `~H` compilation.

## Examples

```elixir
use LiveVue.Components, vue_root: ["./assets/vue", "./lib/my_app_web"]
```

---

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