<button on:click='foo()'></button>
<script>
export default {
methods: {
bar () {
// ...
}
},
helpers: {
foo ( x ) {
return x;
};
</script>