
Vue Toasted
Responsive Touch Compatible Toast plugin for VueJS
4.4K viewsAdded Jan 10, 2019
Responsive Touch Compatible Toast plugin for VueJS
Installation
Install using npm
# install it via npm
npm install vue-toasted --save
Install using yarn
# install it via yarn
yarn add vue-toasted
Direct usage with html
<!-- Insert the vue core before vue-toasted -->
<script src="https://unpkg.com/vue-toasted"></script>
<script>
Vue.use(Toasted)
</script>
Usage
It is simple. couple of lines all what you need
// register the plugin on vue
import Toasted from 'vue-toasted';
Vue.use(Toasted)
// you can also pass options, check options reference below
Vue.use(Toasted, Options)
// you can call like this in your component
this.$toasted.show('hello billo')
// and also
Vue.toasted.show('hola billo');




