Skip to content

Instantly share code, notes, and snippets.

@johnsardine
Created November 16, 2017 21:53
Show Gist options
  • Save johnsardine/782e847d23cca4bbdf91a7aa370c8f38 to your computer and use it in GitHub Desktop.
Save johnsardine/782e847d23cca4bbdf91a7aa370c8f38 to your computer and use it in GitHub Desktop.
4 - Single File component
<template>
<h1>Hello {{ subject }}!</h1>
</template>
<script>
export default {
name: 'hello-subject',
props: {
subject: {
type: String,
},
},
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment