1.1.2 • Published 5 years ago
vue-roaster v1.1.2
vue-roaster
Material Design style Toast (Alert) for Vue
Installation
npm install -S --production vue-roaster
Usage
<template>
<toast></toast>
</template>
<script>
import { Toast } from 'vue-roaster';
export default {
ready() {
Toast.methods.addToast("An Example Toast", 5000);
},
components: { Toast }
}
</script>
See example folder for more details.
Contributing
# install dependencies
npm install
# serve example with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build