Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub workflow & test utils for live_vue #46

Merged
merged 7 commits into from
Dec 1, 2024
Merged

GitHub workflow & test utils for live_vue #46

merged 7 commits into from
Dec 1, 2024

Conversation

Valian
Copy link
Owner

@Valian Valian commented Nov 30, 2024

This PR adds:

  • LiveVue.Test.get_vue/2 making it easy to extract props, slots and all the other attributes from .vue component rendered in HTML
  • Gthub workflow to run LiveVue tests against 3 Elixir versions: 1.13, 1.15 and 1.17

…e newlines.

Apparently, passing `data-ssr={false}` removes the attribute from output, and `data-ssr={true}` renders as empty attribute `data-ssr`. This fixed that behaviour.

Newlines were caused by mix format. Adding phx-no-format skips formatting for that element.
@Valian Valian merged commit a20805c into main Dec 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant