@edu-fe/share-cover

Common share component for edu-fe team

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@edu-fe/share-cover
Minified + gzip package size for @edu-fe/share-cover in KB

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()

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.