Skip to content

Instantly share code, notes, and snippets.

@danielschmitz
Created February 13, 2018 23:43
Show Gist options
  • Save danielschmitz/43e8364fae8147f0ec858f7d29c470e1 to your computer and use it in GitHub Desktop.
Save danielschmitz/43e8364fae8147f0ec858f7d29c470e1 to your computer and use it in GitHub Desktop.
Adicionando a propriedade message
<template>
<div>
<b-message :title="title" :closable="false">
<b-tag type="is-warning" v-show="message">{{message}}</b-tag>
</b-message>
</div>
</template>
<script>
export default {
name: 'FormBox',
props: ['title', 'message'],
data () {
return {
}
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment