1.1.0 • Published 5 years ago

vill-message v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago