methods: { debug (event) { console.log(event) } }
// Adding the below computed properties in your Vue component will allow {{ console.log }} within the <template>. computed: { console: () => console, window: () => window, },