svelte-share-buttons-component
Advanced tools
Comparing version 1.1.1 to 1.1.2
# Changelog | ||
## 1.1.2 | ||
* Modified installation instructions to include specific instructions for Sapper | ||
## 1.1.1 | ||
@@ -12,2 +16,2 @@ | ||
* Changed button css to follow BEM better. | ||
* Removed empty aria attribute. | ||
* Removed empty aria attribute. |
@@ -26,3 +26,3 @@ { | ||
"description": "Simple Svelte based social media share buttons component with no tracking.", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"repository": { | ||
@@ -29,0 +29,0 @@ "type": "git", |
# svelte-share-buttons-component | ||
![npm-publish](https://github.com/pchynoweth/svelte-share-buttons-component/workflows/npm-publish/badge.svg) | ||
![new-version](https://github.com/pchynoweth/svelte-share-buttons-component/workflows/new-version/badge.svg) | ||
[![version](https://img.shields.io/npm/v/svelte-share-buttons-component.svg?style=flat-square)](http://npm.im/svelte-share-buttons-component) | ||
Simple Svelte based share buttons component with no tracking. Based on HTML shared buttons from https://github.com/mxstbr/sharingbuttons.io. | ||
Simple Svelte based share buttons component with no tracking. Based on HTML share buttons from https://github.com/mxstbr/sharingbuttons.io. | ||
## Installation | ||
Using npm: | ||
### Using npm | ||
#### Sapper or Other Svelte Bundler | ||
For Sapper you need to install the package as a dev module to so it gets compiled. If you install it as a runtiome dependency you will 500 errors on the server side. This is explained [here](https://github.com/sveltejs/sapper-template#using-external-components). | ||
```bash | ||
$ npm i -D svelte-share-buttons-component | ||
``` | ||
### PureJS | ||
```bash | ||
$ npm i --save svelte-share-buttons-component | ||
``` | ||
## Example | ||
@@ -45,2 +57,2 @@ | ||
<Twitter class="share-button" text="{title}" {url} /> | ||
``` | ||
``` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149426
3626
58