We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.0
https://jsfiddle.net/p5x249rd/1/ template-explorer
Have an if/else on elements that are separated by a space on the same line.
The if/else functions correctly, showing only the if/elseif/else that it should instead of all of them and no warning returned
You get the error: Template compilation error: v-else/v-else-if has no adjacent v-if. And the if/elses aren't handled properly.
The text was updated successfully, but these errors were encountered:
fix(compiler-core): allow spaces between if-else branches (#2305)
89c5909
fix #2299
Successfully merging a pull request may close this issue.
Version
3.0.0
Reproduction link
https://jsfiddle.net/p5x249rd/1/
template-explorer
Steps to reproduce
Have an if/else on elements that are separated by a space on the same line.
What is expected?
The if/else functions correctly, showing only the if/elseif/else that it should instead of all of them and no warning returned
What is actually happening?
You get the error: Template compilation error: v-else/v-else-if has no adjacent v-if.
And the if/elses aren't handled properly.
The text was updated successfully, but these errors were encountered: