Skip to content

Script needs to be above x-data? #3446

Answered by SimoTod
FredMar asked this question in 1. Help
Discussion options

You must be logged in to vote

It also works if the script tag goes after.

Chances are that you didn't defer the script tag including alpine.

https://alpinejs.dev/start-here

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FredMar
Comment options

Answer selected by FredMar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants