![]() |
hace 6 años | |
---|---|---|
dist | hace 6 años | |
example | hace 6 años | |
lib | hace 6 años | |
src | hace 6 años | |
.babelrc | hace 6 años | |
.npmignore | hace 6 años | |
LICENCE.md | hace 6 años | |
README.md | hace 6 años | |
package.json | hace 6 años | |
webpack.config.js | hace 6 años |
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