11 lines
141 B

<button on:click='foo()'>foo</button>
<script>
export default {
helpers: {
foo () {
this.set({ foo: true });
}
}
}
</script>