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