Alpine based page doesn't pass W3C validator markup validation service #2042
Answered
by
SimoTod
driss-chelouati
asked this question in
5. Bugs
-
Beta Was this translation helpful? Give feedback.
Answered by
SimoTod
Sep 10, 2021
Replies: 1 comment 6 replies
-
Alpine v3 supports custom prefixes. <script>
document.addEventListener('alpine:init', () => Alpine prefix('data-x-'))
</script>
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
driss-chelouati
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alpine v3 supports custom prefixes.
data-*
attributes are allowed and they'll pass validation