-
-
Save Comandeer/dd6065fc071519333d977badfe8b01aa to your computer and use it in GitHub Desktop.
Component's script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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