1.1.0 • Published 6 years ago

vill-message v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

vill-message

a vue plugins about notice or toast

Build Setup

install the plugin on bash and the sass module support

npm install vill-message --save-dev
npm install sass-loader node-sass vue-style-loader --save-dev

register the plugins on the vue project in the entry file (main.js)

import message from 'vill-message'
Vue.use(message);

on the vue template file ,you can use it by

this.$message.success("hello vill-message");
this.$message.error("hello vill-message");
this.$message.warning("hello vill-message");
this.$message.info("hello vill-message");

on the vue template file ,you can also use it by

this.$message({
    duration:2000,
    type:'success',
    message:'hello vill-message'
});
this.$message({
    duration:2000,
    type:'error',
    message:'hello vill-message'
});
1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

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