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>
@stephenlb

This comment has been minimized.

Show comment
Hide comment
@stephenlb

stephenlb commented Sep 6, 2018

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment