Skip to content

Instantly share code, notes, and snippets.

@Comandeer
Created July 7, 2018 20:47
Embed
What would you like to do?
Component's script
<template>
[…]
</template>
<style>
[…]
</style>
<script>
export default { // 1
name: 'hello-world', // 2
onClick() { // 3
alert( `Don't touch me!` );
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment