Skip to content

huangche007/vue2-social-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue2-social-share

a social share plug for VueJs

Usage

npm install vue2-social-share -S

How to use

You can import the whole package or each module individual.

import VueShare from 'vue2-social-share'
Vue.use(VueShare)

create one you component

<VueShare :items="items"></VueShare>

this data of items just like this:

Name Type
title String
url String
image String
abstract String
desc String
items:{
	title:"",
	url:"",
	image:"",
	abstract:"",
	desc:""
}

Available Share Ways

  • QQFriend

    QQFriendShare

  • QQRoom

    QQRoom

  • WeiBo

    WeiBo

  • WeChat

    WeChat

Run this Demo

  • download this Demo
  • cnpm install
  • npm run dev

Do not use localhost to this test

About

A social share Component for VueJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published