vue-message
vue-message
A prompt component based on vue2.0 QQ交流群: 424418160
DEMO
http://www.daiwei.org/components/vue-message
How To Use
- install vue-message plugin
npm install --save vue-message
-
main.js To Use
import Vue form 'vue' import Msg from 'vue-message' Vue.use(Msg, { text: 'Hello world', duration: 3000, background: 'rgba(7,17,27,0.6)' }) -
.vue To Use
// this.$toast('你好') // string or object (version 0 - 1.1.5) this.$msg('Hello') // ### 1.2.0 after this.$msg({text:'未曾遗忘的青春', background: 'red'})1.2.0 + ===> $msg
1.2.0 - ===> $toast
1.2.2 update readme add demo link
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.4.3 | ^2.4.4 | MIT | |
| 1.4.2 | ^2.4.4 | MIT | |
| 1.4.1 | ^2.4.4 | MIT | |
| 1.4.0 | ^2.4.4 | MIT | |
| 1.3.0 | ^2.4.4 | MIT | |
| 1.2.9 | ^2.4.4 | MIT | |
| 1.2.8 | ^2.4.4 | MIT | |
| 1.2.7 | ^2.4.4 | MIT | |
| 1.2.6 | ^2.4.4 | MIT | |
| 1.2.5 | ^2.4.4 | MIT | |
| 1.2.4 | ^2.4.4 | MIT | |
| 1.2.3 | ^2.4.4 | MIT | |
| 1.2.2 | ^2.4.4 | MIT | |
| 1.2.1 | ^2.4.4 | MIT | |
| 1.2.0 | ^2.4.4 | MIT | |
| 1.1.5 | ^2.4.4 | MIT | |
| 1.1.4 | ^2.4.4 | MIT | |
| 1.1.3 | ^2.4.4 | MIT | |
| 1.1.2 | ^2.4.4 | MIT | |
| 1.1.1 | ^2.4.4 | MIT | |
| 1.0.7 | ^2.4.4 | MIT | |
| 1.0.6 | ^2.4.4 | MIT | |
| 1.0.5 | ^2.4.4 | MIT | |
| 1.0.4 | ^2.4.4 | MIT | |
| 1.0.3 | ^2.4.4 | MIT | |
| 1.0.2 | ^2.4.4 | MIT | |
| 1.0.1 | ^2.4.4 | MIT | |
| 1.0.0 | ^2.4.4 | MIT |