-
So it is recommended to defer the loading of the alpinejs script. However, it seems that x-cloak does not hide the element until the whole page has been loaded and alpinejs is initialized. Is this the expected behavior or am i missing something?
I added the other scripts because maybe the variables inside the x-cloak div is messing with it. |
Beta Was this translation helpful? Give feedback.
Answered by
alexej-d
Jul 1, 2021
Replies: 1 comment 1 reply
-
This ist expected behavior. You need to add this CSS snippet somewhere before the cloaked elements:
Btw. this is described in the docs here. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mlab817
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ist expected behavior. You need to add this CSS snippet somewhere before the cloaked elements:
Btw. this is described in the docs here.