![]() |
il y a 6 ans | |
---|---|---|
dist | il y a 6 ans | |
example | il y a 6 ans | |
lib | il y a 6 ans | |
src | il y a 6 ans | |
.babelrc | il y a 6 ans | |
.npmignore | il y a 6 ans | |
LICENCE.md | il y a 6 ans | |
README.md | il y a 6 ans | |
package.json | il y a 6 ans | |
webpack.config.js | il y a 6 ans |
Material Design style Toast (Alert) for Vue
npm install -S --production vue-roaster
<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.
# install dependencies
npm install
# serve example with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build