Why Vue.js data property in component must be a function?
If you are a newbie (or maybe not, but just clumsy enough), you probably had this error at some point: `data` property in component must be a function. This occurs when you are returning a data object without a function. Even though it is mentioned in the official documentation, the explanation might sound difficult for …
Why Vue.js data property in component must be a function? Read More »