@zezeping/cloud-vue
v0.0.6
Published
```bash npm install @zezeping/cloud-vue --save ```
Downloads
2
Readme
Install
npm install @zezeping/cloud-vue --save
Usage
import Vue from 'vue'
import Cloud from '@zezeping/cloud-vue'
Vue.use(Cloud, {
name: 'Cloud',
mapComponents: {
'ui-button': 'button.xxx.js'
}
})
<template>
<cloud ui="button.xxx.js" @click disabled>点击</cloud>
<!--from mapComponents 映射1-->
<cloud ui="ui-button" @click disabled>点击</cloud>
<!--from mapComponents 映射2-->
<ui-button> @click disabled>点击</ui-button>
</template>