@edu-fe/share-cover
v1.0.1
Published
Common share component for edu-fe team
Downloads
4
Keywords
Readme
@edu/ShareCover
Common share component for edu-fe team
Installing
Using npm
$ npm i @edu-fe/share-cover
Using yarn
$ yarn add @edu-fe/share-cover
Example
import ShareCover from '@edu-fe/share-cover'
Vue.use(ShareCover)
// global invoking
Vue.share()
// In a vue instance
new Vue({
el: '#app',
created() {
this.$share()
}
})
关闭方法
const share = Vue.share(options)
share.close()