#1、安装:
npm install xiaoi-vue-toast
#2、在 vue2 项目里使用如下: main.js
import toast from 'xiaoi-vue-toast'
Vue.use(toast)
#3、引用
this.$toast.success('提交成功')
#1、安装:
npm install xiaoi-vue-toast
#2、在 vue2 项目里使用如下: main.js
import toast from 'xiaoi-vue-toast'
Vue.use(toast)
#3、引用
this.$toast.success('提交成功')
npm i xiaoi-vue-toast
1
1.2.0
ISC
23.6 kB
8