Created
January 14, 2018 17:48
-
-
Save Akryum/0187dbfd782d584eef46e85622685bac to your computer and use it in GitHub Desktop.
Inspect Vue component
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> | |
<div> | |
<button @click="inspect">Inspect me!</button> | |
</div> | |
</template> | |
<script> | |
export default { | |
methods: { | |
inspect () { | |
this.$inspect() | |
} | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment