Ignore all document except one little <div>
#4597
Answered
by
JayBizzle
alex-jitbit
asked this question in
1. Help
-
I'd like to add Alpine to a big project gradually. We have a huge HTML document that I'd like Alpine to ignore, expect for one little subtree of elements. What is the official way to do that? |
Beta Was this translation helpful? Give feedback.
Answered by
JayBizzle
Apr 5, 2025
Replies: 1 comment
-
Just use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alex-jitbit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just use
x-data
on the element where you want alpine to be initialised