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