Skip to content
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

formatter incompatible with alpine.js #6

Open
scratchmex opened this issue Jul 29, 2023 · 1 comment
Open

formatter incompatible with alpine.js #6

scratchmex opened this issue Jul 29, 2023 · 1 comment

Comments

@scratchmex
Copy link

with this template will give the follwing errors and the most important thing: it won't format it

<div x-data="{ open: false }">  # ERROR: Invalid Token. Expected stringEnd but found text instead.
    <button @click="open = !open"></button>  # ERROR: Expected an Identifier. Expected a valid attribute name, but instead found "!", which is not part of a valid attribute name.
    <button @click.outside="open = !open"></button>  # ERROR: Expected an Identifier. Expected a valid attribute name, but instead found "!", which is not part of a valid attribute name.
</div>
@rob32
Copy link

rob32 commented Feb 22, 2024

Same here.

@scratchmex Have you found another way to solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants