Created
December 18, 2017 22:26
-
-
Save kresnasatya/59d9439f6dd286d9e7e370736421e2b1 to your computer and use it in GitHub Desktop.
Header for vue component
This file contains hidden or 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> | |
<div> | |
<app-header></app-header> | |
</div> | |
</template> | |
<script> | |
import header from './components/header.vue'; | |
export default { | |
components: { | |
'app-header': header | |
}, | |
data () { | |
return { | |
} | |
} | |
} | |
</script> | |
<style> | |
</style> |
This file contains hidden or 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> | |
<div> | |
<h1>Hi, I'm a header</h1> | |
</div> | |
</template> | |
<script> | |
export default { | |
} | |
</script> | |
<style> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment