This package has been deprecated

Author message:

''error''

vue-leilei-toastplugin

0.1.1 • Public • Published

安装

npm install vue-leilei-toast-test --save-dev

使用

main.js中引入

main.js

import leileiToast from 'vue-leilei-toast-test'

Vue.use(leileiToast)

说明

在组件中使用

this.$toast(msg,duration);

参数: msg:"要提示信息" duration:"在页面持续时间(毫秒)"

后记

这是我的第一个Vue插件并上传到npm,后续会好好学习争取在前端领域,能活的明白,活的潇洒。

Readme

Keywords

none

Package Sidebar

Install

npm i vue-leilei-toastplugin

Weekly Downloads

1

Version

0.1.1

License

none

Unpacked Size

175 kB

Total Files

18

Last publish

Collaborators

  • mstian