1.1.5 • Published 4 years ago
vue-toast-tip v1.1.5
codes
vue-toast-tip
Build Setup
# 安装
npm i vue-toast-tip
#介绍
这是一个基于vue的toast提示插件
#main.js全局导入
import toastTip from "vue-toast-tip"
Vue.use(toastTip)
#组件中直接使用 time不设置默认1000毫秒
this.$toast(`text`,time)
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).