# vue-toast-component

> 移动端toast弹框，样式美观、轻量，支持vue2.0

Latest version **2.0.0** (published 2017-11-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install vue-toast-component
pnpm add vue-toast-component
yarn add vue-toast-component
bun add vue-toast-component
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-11-03 |
| First published | 2017-08-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zwh |
| Maintainers | zwhgithub |
| Keywords | vue, toast, vue-toast |

## Links

- npm: https://www.npmjs.com/package/vue-toast-component
- Repository: https://github.com/zwhGithub/
- npm.io page: https://npm.io/package/vue-toast-component

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2017-11-03
- 1.3.7 — 2017-08-22
- 1.3.6 — 2017-08-22
- 1.3.5 — 2017-08-22
- 1.3.4 — 2017-08-22
- 1.3.3 — 2017-08-22
- 1.3.2 — 2017-08-22
- 1.3.1 — 2017-08-22
- 1.3.0 — 2017-08-22
- 1.2.0 — 2017-08-22
- 1.1.0 — 2017-08-22
- 1.0.0 — 2017-08-02

## README

## Other

* 仿照一位Vue大牛的代码（全盘借鉴）捂脸 (github地址: [wc-messagebox](https://github.com/helicopters/wc-messagebox))
* 另外推荐一个Vue轮播图插件。占用内存小、流畅、api友好、更新维护快。(轮播图github地址: [wc-swiper](https://github.com/helicopters/wc-swiper))


## Install
```shell
npm i vue-toast-component --save
```

## Quick Start  Usage
```javascript
//main.js中引入
import Toast from 'vue-toast-component'
Vue.use(Toast)

在某个vue文件中使用
this.$toast(content, duration);

//举例
this.$toast("你好") 或者
this.$toast("你好",1500)

---
_Source: https://npm.io/package/vue-toast-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
