vue
vue copied to clipboard
Pug: Issue with dynamic property access inside tag interpolation
Version
2.7.13
Reproduction link
Steps to reproduce
See minimal repro sandbox. In short, interpolate a tag in a pug template, and attempt to access a property dynamically, as in foo[bar].baz
.
What is expected?
Dynamic property access should work the same as in HTML templates.
What is actually happening?
The value is not rendered properly. It renders like foo[bar.baz
.
I don't know if this issue belongs here or in the pug-plain-loader repo. Please let me know if I should move it there.