# live_vue_contract v0.3.1 - API Reference

## Modules

- [LiveVueContract](LiveVueContract.md): Makes the props contract between `<.vue>` and `defineProps<T>()` red before production.
- [LiveVueContract.Schema](LiveVueContract.Schema.md): Reads the generated contract file (JSON-Schema subset per Vue component) and
validates encoded props against it.
- [LiveVueContract.Tags](LiveVueContract.Tags.md): Compile-time check of `<.vue>` tags: walks a compiled HEEx template and compares the attributes
of every literal `<.vue v-component="X" ...>` (and `<.X>` shortcut) with the schema of `X`.

## Mix Tasks

- [mix compile.live_vue_contract](Mix.Tasks.Compile.LiveVueContract.md): Runs `priv/gen.mjs` (node + `vue-component-meta` from the host's `node_modules`) when the
sources of the contract changed since the last run.

