-
-
Save parzibyte/a26103f321472114921add2868e11a27 to your computer and use it in GitHub Desktop.
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
<template> | |
<div class="container"> | |
<div class="columns"> | |
<div class="column"> | |
<section> | |
<h1 class="is-size-1">Probando Buefy</h1> | |
<button class="button is-medium" @click="mostrarToast"> | |
Mostrar un toast | |
</button> | |
</section> | |
</div> | |
</div> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'app', | |
methods: { | |
mostrarToast(){ | |
this.$buefy.toast.open("¡Hola, Buefy! Parzibyte.me") | |
} | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment