|
|
il y a 6 ans | |
|---|---|---|
| dist | il y a 6 ans | |
| example | il y a 6 ans | |
| src | il y a 6 ans | |
| .babelrc | il y a 6 ans | |
| .gitignore | 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-lock.json | il y a 6 ans | |
| package.json | il y a 6 ans | |
| webpack.config.js | il y a 6 ans |
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
# watch files for changes wtih webpack
npm run dev
# build for production with minification
npm run build