1.0.5 • Published 6 years ago

vue-notify-simple v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

vue-notify

A Vue.js notifycation

一个基于vue2.x的notification组件

Use

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

安装

 # npm install vue-notify-simple --save-dev

使用

  #es6
  import VueNotifySimple from 'vue-notify-simple'
  Vue.use(VueNotifySimple)

  #require
  const VueNotifySimple = require('vue-notify-simple')
  Vue.use(VueNotifySimple)

  #cnd
  <script src="../node_modules/vue-notify/dist/vue-notify-simple.js"></script>

##组建内调用

  # this.$notify({
  	content:'提示内容',
  	onClose(){},//点击关闭按钮的回调函数
  })
1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago