new Vue({ el: '#app', data: { settings: { runs: [1, 2, 3] } }, methods: { removeRun: function(i) { console.log("Remove", i); this.settings.runs.splice(i,1); } } });
new Vue({ el: '#app', data: { settings: { runs: [1, 2, 3] } }, methods: { removeRun: function(i) { console.log("Remove", i); this.settings.runs.splice(i,1); } } });