Closed mahammad-sixberries closed 2 years ago
Thanks for you feedback.
It is a Bug.
It has something to do with @babel/plugin-transform-computed-properties && assumptions.setComputedProperties
We may need prepend _vm.
to computed class property too:
May be we need:
// not a key of Property || is a computed key of Property
&& ((types.isObjectProperty(parent) && parent.key === node) ? parent.computed : true)
If anyone has interest to fix this issue, follow the CONTRIBUTING.md will help you.
I have fixed this issue.
You can try it by run:
npm install vue-template-babel-compiler@latest
Thanks for your feedback again!
Current behavior
Expected behavior
Computed property names should be working as per this