Is it possible to use the computed properties to compute another properties in Vue?
You need to use correct scope to access a vue computed property. as you are using just id, it will search it in global scope and not find it and will return undefined. For getting vue computed property, you need to do: this.id, so your code will look like following: computed: { id: function () … Read more