Created
June 3, 2018 19:09
-
-
Save chrisvfritz/1c9f2daea9bc078dcb47e9a82e5f7587 to your computer and use it in GitHub Desktop.
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 lang="jade"> | |
div | |
p {{ greeting }} World! | |
OtherComponent | |
</template> | |
<script> | |
import OtherComponent from './OtherComponent.vue' | |
export default { | |
components: { | |
OtherComponent | |
}, | |
data () { | |
return { | |
greeting: 'Hello' | |
} | |
} | |
} | |
</script> | |
<style lang="stylus" scoped> | |
p | |
font-size 2em | |
text-align center | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍