Skip to content

Instantly share code, notes, and snippets.

@chrisvfritz
Created June 3, 2018 19:09
Show Gist options
  • Save chrisvfritz/1c9f2daea9bc078dcb47e9a82e5f7587 to your computer and use it in GitHub Desktop.
Save chrisvfritz/1c9f2daea9bc078dcb47e9a82e5f7587 to your computer and use it in GitHub Desktop.
<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
Copy link

👍

@wjhrs
Copy link

wjhrs commented Jun 2, 2023

👍

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