mars-vue-notification
0.2.0 • Public • Published
npm install mars-vue-notification --save
//in your main.js
import Notification from 'mars-vue-notification'
Vue.use(Notification)
export default {
...
mounted() {
setTimeout(() => {
this.$notify({
content: "test message...",
btn: "close",
btnTextColor: "green", // default: #ff4081
textColor: "yellow", // default: #fff
bgColor: "blue" // default: #303030
});
}, 1000)
}
};
Readme
Keywords
nonePackage Sidebar
Install
npm i mars-vue-notification
Weekly Downloads