0👍
module.exports = {
name: "track-list",
components: {
[ ... ]
},
data() {
return {
[ ... ]
};
}
}
Should be
module.exports = {
name: "track-list",
components: {
componentName
},
data() {
return {
variableName: ''
};
}
}
Components should include all the custom components you are using.(componentName in example). Remove the components part if you are not using any,
Data should include all the variables you are using for that component(variableName in example).
- [Vuejs]-Grouped select-all implementation with vue
- [Vuejs]-Using an array's object's attribute in a v-for with v-bind in vue.js?
Source:stackexchange.com