0👍
Functions are not allowed in the template syntax so if the plugin allows it or not doesn’t matter anyways + its not good practice –> create a method for it much cleaner and more readable.
Git hub issue for similar problem.
https://github.com/vuejs/vue-loader/issues/364
0👍
I’d say it’s supported already in vuejs 2.0. I have tested it and it’s also written in the docs:
<comp :foo="bar" @update:foo="val => bar = val"></comp>
Just PhpStorm is complaining… If you raise a bug I will upvote!
Source:stackexchange.com