![]() |
há 5 anos atrás | |
---|---|---|
dist | há 5 anos atrás | |
example | há 5 anos atrás | |
src | há 5 anos atrás | |
.babelrc | há 5 anos atrás | |
.gitignore | há 5 anos atrás | |
.npmignore | há 5 anos atrás | |
LICENCE.md | há 5 anos atrás | |
README.md | há 5 anos atrás | |
package-lock.json | há 5 anos atrás | |
package.json | há 5 anos atrás | |
webpack.config.js | há 5 anos atrás |
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