-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
JS directive is parsed as a conditional #54
Comments
Can I ask if you have the link for the documentation? I actually came across a few of your pull request on Laravel as well, but could not find any documentation as Taylor suggested there! Is it AlpineJS > Using the @js directive or a Laravel Directive? :) |
Not sure why Taylor doesn't want to document it, but it's used in Breeze so 🤷♂️ |
Haha thanks for that! It's actually handy I didn't know about it myself as well! |
@calebdw sorry to bother, but could you test the new update with your AlpineJS javascript injection using the following edge case? <div x-data="{ posts: @js($posts) }">
</div> |
@calebdw no bother! thanks for getting back I can not see the AST, in relation the javascript injection and the |
@calebdw oh good catch! 🤦♂️ |
That should be it, all fixed! thanks for catching! |
See comment: #53
The text was updated successfully, but these errors were encountered: