vue-layer
npm: https://www.npmjs.com/package/vue-layer
原文:https://www.cnblogs.com/myIvan/p/9564502.html
1.安装
cnpm install vue-layer --save-dev
2.引入
import layer from 'vue-layer'
Vue.prototype.$layer = layer(Vue);
3.调用
this.$layer.msg('123');