# withInstall

用于封装一个组件成为单独可被Vue全局使用的组件，可被Vue.use
``` ts
// a.ts
import { withInstall } from 'path/withInstall'
import MyComponent from 'path/my-component'

export default withInstall(MyComponent)

// b.ts
import MyComponent from './a'

Vue.use(MyComponent)

// <my-component></my-component>
// <MyComponent />
```


沧海一声笑🤣🤣🤣    
喵喵喵喵喵🐶🐶🐶
