vue-z-toast
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

vue-z-toast

vue的toast插件

Usage

  1. install package yarn add vue-z-toast or npm install vue-z-toast

  2. register

    import VueZToast from 'vue-z-toast'
    import 'vue-z-toast/dist/index.min.css'
    ...
    Vue.use(VueZToast)
  3. use

    ...
    this.$toast('toast', 2500, { color: 'red', backgroundColor: 'rgba(125, 43, 86, .4)' })
    ...
  4. options

Readme

Keywords

Package Sidebar

Install

npm i vue-z-toast

Weekly Downloads

1

Version

1.2.2

License

ISC

Unpacked Size

6.03 kB

Total Files

10

Last publish

Collaborators

  • zhaofinger