Last active
January 25, 2017 16:17
-
-
Save wdmtech/aab07f4fe4a0ef6b17ea0b10bf10d5e2 to your computer and use it in GitHub Desktop.
A Vue 2.0 component template
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> | |
<span> | |
</span> | |
</template> | |
<script> | |
import { mapState, mapActions } from 'vuex' | |
export default { | |
name: 'anonymous-component', | |
components: {}, | |
props: { | |
hello: { default: Boolean, required: false } | |
}, | |
computed: { | |
...mapState([]), | |
...mapActions([]) | |
}, | |
methods: { | |
}, | |
data () { | |
return {} | |
}, | |
mounted () { | |
} | |
} | |
</script> | |
<style> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment