Created
June 23, 2018 01:05
-
-
Save lmiller1990/652546827a01b0a8d53888014433da93 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> | |
<div>{{ msg }}</div> | |
<div>{{ post.title }}</div> | |
</div> | |
</template> | |
// ... | |
export default { | |
// ... | |
mounted() { | |
this.$store.dispatch("fetchPost") | |
}, | |
// ... | |
} | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment