node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

vue-roaster

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