Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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