|
|
6 yıl önce | |
|---|---|---|
| dist | 6 yıl önce | |
| example | 6 yıl önce | |
| src | 6 yıl önce | |
| .babelrc | 6 yıl önce | |
| .gitignore | 6 yıl önce | |
| .npmignore | 6 yıl önce | |
| LICENCE.md | 6 yıl önce | |
| README.md | 6 yıl önce | |
| package-lock.json | 6 yıl önce | |
| package.json | 6 yıl önce | |
| webpack.config.js | 6 yıl önce |
Toast alerts (initially developed for Vue.js with a material-design style)
npm install -S --production toasters
<template>
<toast></toast>
</template>
<script>
import { Toast } from 'toasters';
export default {
ready() {
new Toast({ content: "This is a test for content", persistant: true, position: {
horizontal: "right",
vertical: "bottom"
}});
}
}
</script>
# install dependencies
npm install
# serve example with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build