View Source LiveVue (LiveVue v0.3.2)
See README.md for installation instructions and usage.
Summary
Functions
Attributes
v-component(:string) (required) - Name of the Vue component.Examples include"YourComponent", and"directory/Example".id(:string) - Explicit id of a wrapper component. If not provided, a random one will be generated. Useful to keep ID consistent in development. Defaults tonil.class(:string) - Class to apply to the Vue component. Defaults tonil.v-ssr(:boolean) - Whether to render the component on the server. Defaults tonil.v-socket(:map) - LiveView socket, should be provided when rendering inside LiveView. Defaults tonil.- Global attributes are accepted.
Functions
Attributes
v-component(:string) (required) - Name of the Vue component.Examples include"YourComponent", and"directory/Example".id(:string) - Explicit id of a wrapper component. If not provided, a random one will be generated. Useful to keep ID consistent in development. Defaults tonil.class(:string) - Class to apply to the Vue component. Defaults tonil.v-ssr(:boolean) - Whether to render the component on the server. Defaults tonil.v-socket(:map) - LiveView socket, should be provided when rendering inside LiveView. Defaults tonil.- Global attributes are accepted.