Last active
October 1, 2019 17:16
-
-
Save LucasBadico/28968fe0b9511209b7d46a9595242bfd to your computer and use it in GitHub Desktop.
vue component
This file contains 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
<script> | |
export default { | |
name: "backoffice-header", | |
props: { title: { type: String, required: true }, subtitle: { type: String, required: false, default: '' } } | |
} | |
</script> | |
<template> | |
<h1> {{title}}</h1> | |
<p class="subtitle"> {{subtitle}}</p> | |
<slot></slot> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment