0.1.1 • Published 2 years ago
winne-vue-components v0.1.1
winne-vue-components
Installation
yarn add winne-vue-components
// or
npm install winne-vue-components -S
how to use
// main.js
import winneCom from 'winne-vue-components'
Vue.use(winneCom)
// xxx.vue
<template>
<div class="home">
<MyBtn msg="xf" />
</div>
</template>
<script>
export default {
name: 'Home',
mounted () {
this.$toast({
msg: '成功提示',
type: 'success'
})
}
}
</script>