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.4.15
?
html code:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="mydiv"> <span :id></span> <br/> <span v-bind:id></span> </div> <script type="module" src="attribute_bindings_3.js"></script> </body> </html>
js code:
import {createApp} from 'vue' createApp({ setup() { let id = 'myspan1'; return { id } } }).mount("#mydiv");
i will test url: https://vuejs.org/guide/essentials/template-syntax.html#same-name-shorthand
but F12 show result:
attribute_bindings_3.js:11 [Vue warn]: Template compilation error: v-bind is missing expression. 1 | 2 | <span :id=""></span> | ^^^^^^ 3 | <br> 4 | <span v-bind:id=""></span> at <App>
?
No response
The text was updated successfully, but these errors were encountered:
cb87b62
fix(compiler-vapor): handle same-name shorthand edge case for in-DOM …
b37912e
…templates fix vuejs/core#10280
3957dab
fix(compiler-core): handle same-name shorthand edge case for in-DOM t…
3904065
…emplates Also add error for invalid arguments for same-name shorthand. close vuejs#10280
No branches or pull requests
Vue version
3.4.15
Link to minimal reproduction
?
Steps to reproduce
html code:
js code:
i will test url:
https://vuejs.org/guide/essentials/template-syntax.html#same-name-shorthand
but F12 show result:
What is expected?
?
What is actually happening?
?
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: