Skip to content

Commit

Permalink
Publish pre-release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Vic Shóstak committed Nov 6, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 60da479 commit 2e015c7
Showing 32 changed files with 4,960 additions and 53 deletions.
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -65,6 +65,7 @@ build/Release

# Dependency directories
node_modules/
src/docs/node_modules/
jspm_packages/

# Typescript v1 declaration files
@@ -88,4 +89,6 @@ typings/
# dotenv environment variables file
.env


###GitBook
# Generated book
src/docs/_book/
27 changes: 16 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,32 +2,37 @@
<img src="https://user-images.githubusercontent.com/11155743/32192540-861b182a-bdc5-11e7-9867-3beca0163512.png" alt="vue-goodshare logo">
</p>

# vue-goodshare
![npm version](https://badge.fury.io/js/vue-goodshare.svg) [![vue js site](https://img.shields.io/badge/Vue.js-2.2.x_or_newer-blue.svg?style=flat)](https://vuejs.org) [![license](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/koddr/vue-goodshare/blob/master/LICENSE.md)
# vue-goodshare

![npm version](https://badge.fury.io/js/vue-goodshare.svg) [![vue js site](https://img.shields.io/badge/Vue.js-2.4.x_or_newer-blue.svg?style=flat)](https://vuejs.org) [![license](https://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://github.com/koddr/vue-goodshare/blob/master/LICENSE.md)

> Vue.js component for social share. A simple way to share a link on the pages of your website in the most popular social networks. Powered by [goodshare.js](https://github.com/koddr/goodshare.js) project.
### Features

Simple install, extensive documentation, developer support, **SEO friendly**, many options for customization of appearance, **clean code without scripts tracking user activity** on the page, **high speed**.

### Full Documentation & Demos

* [https://koddr.github.io/vue-goodshare/](https://koddr.github.io/vue-goodshare/)

### Requirements

* Vue.js >= 2.2.0
* Vue.js >= 2.4.0

### Install component

```bash
$ npm i vue-goodshare --save
$ npm install vue-goodshare --save
```

### Usage

* Init Vue.js and component in your main js file:

```javascript
``` javascript
import Vue from 'vue'
import VueGoodshareFacebook from 'vue-goodshare'
import { VueGoodshareFacebook } from 'vue-goodshare'

const app = new Vue({
el: '#app',
@@ -39,7 +44,7 @@ const app = new Vue({

* Add component to html template (with attributes):

```html
``` html
<vue-goodshare-facebook
page_url="https://github.com"
title_social="Facebook"
@@ -56,14 +61,14 @@ This will make beautiful share button for you, like:

* Clone repository from GitHub:

```bash
``` bash
$ git clone https://github.com/koddr/vue-goodshare.git
```

* Go to `docs` folder:
* Go to `examples` folder:

```bash
$ cd vue-goodshare/docs
``` bash
$ cd vue-goodshare/examples
```

* Start simple Python 3.4+ HTTP server (only macOS and Linux):
6 changes: 6 additions & 0 deletions examples/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
"es2015",
"es2016"
]
}
31 changes: 31 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# vue-goodshare examples

> Example web page for testing `vue-goodshare` on your localhost.
### Installation

* Clone repository from GitHub:

``` bash
$ git clone https://github.com/koddr/vue-goodshare.git
```

* Go to `examples` folder:

``` bash
$ cd vue-goodshare/examples
```

* Start simple Python 3.4+ HTTP server (only macOS and Linux):

``` bash
$ python3 -m http.server 4000 --bind localhost
```

### Dev Build

``` bash
$ cd vue-goodshare/examples
$ npm install
$ npm run build # or npm run watch
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2e015c7

Please sign in to comment.