Created
March 11, 2018 03:04
-
-
Save sanfx/5bde0577be79beb9503e68787c61c06f to your computer and use it in GitHub Desktop.
standard template, script, and style sections along with the code example
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> | |
<h3>I'm a Survey Component</h3> | |
</div> | |
</template> | |
<script> | |
export default { | |
data() { | |
return { | |
survey: {} | |
} | |
}, | |
beforeMount() { | |
console.log('Survey.beforeMount -> :id === ', this.$route.params.id) | |
} | |
} | |
</script> | |
<style> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment