0.4.0 • Published 3 years ago
vue-plugin-min v0.4.0
vue-plugin-min
List of global area codes
使用组件
安装npm包
npm install vue-plugin-min --save
引用vue-plugin-min插件
import vuePluginMin from 'vue-plugin-min'
Vue.use(vuePluginMin)
在页面上使用
<vue-practice :propData='initData'/>
<vue-practice2 :propData='initData'/>
<flag-code height="30" width="120" @getCode='getCode'/>
在组件中使用
methos: {
// 提示框
getCode(code) {
this.$toast(code, 6000)
}
}
//npm unpublish vue-plugin-min@0.2.2 --force For detailed explanation on how things work, checkout the guide and docs for vue-loader.