0👍
Adding an answer here in case people arrive at this with the same issue.
I think what you are doing absolutely should work, and I was debugging a similar issue for some time. I found that the fix was as simple as restarting webpack, since it seems that it doesn’t “hot reload” changes to the config.
Worth double-checking, I think.
- [Vuejs]-Updating data from a component
- [Vuejs]-Vuejs is using a modified event directive without an event handler OK?
Source:stackexchange.com