Created
July 11, 2020 22:28
-
-
Save getJv/aab15bca669272467f3d433e3b81df6e to your computer and use it in GitHub Desktop.
This file contains hidden or 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>Test page</div> | |
</template> | |
<script> | |
export default { | |
name: "Mycomponent", | |
beforeCreate() { | |
console.log("beforeCreate"); | |
}, | |
created() { | |
console.log("created"); | |
}, | |
beforeMount() { | |
console.log("beforeMount"); | |
}, | |
mounted() { | |
console.log("mounted"); | |
}, | |
customMethod() { | |
console.log("custom method executed!"); | |
}, | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment