-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Prettier + Vue + Pug, not working #1440
Labels
Comments
Hey @quangv , With the recent switch to VSCode as the default editor, this should be fixed. I just tested on your sandbox, and it looks like prettier is not messing with Pug code anymore. Please test and close this if everything's behaving as expected. |
Closed on lack of reply, please re open if the issue persist :) |
This was referenced Apr 26, 2021
Open
This was referenced May 4, 2021
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 bug report
Description of the problem
Prettier seems to mess up Vue's Pug syntax.
This valid pug:
Prettier turned into this: (not really what we want)
Is there any Prettier option to prevent this from happening? Thanks!
Also could be related to this: prettier/prettier#5371
How has this issue affected you? What are you trying to accomplish?
Trying to use Pug with Vue in codesandbox, with Prettier, but Prettier seems to not like it.
Link to sandbox: link (optional)
https://codesandbox.io/s/l75l39o97l
Your Environment
The text was updated successfully, but these errors were encountered: