0.1.2 • Published 3 years ago
big-bear-toast v0.1.2
big-bear-toast
install
npm i big-bear-toast
config for vue
import toast from 'big-bear-toast'
Vue.use(toast)
how to use
<template>
<div class="home">
<button v-on:click="greet">Greet</button>
</div>
</template>
<script>
export default {
methods: {
greet(){
this.$toast('my toast test!')
}
}
}
</script>