Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdir/vue-trustedshops
Vue plugin for Trustedshops
https://github.com/pdir/vue-trustedshops
Last synced: about 1 month ago
JSON representation
Vue plugin for Trustedshops
- Host: GitHub
- URL: https://github.com/pdir/vue-trustedshops
- Owner: pdir
- License: gpl-3.0
- Created: 2018-10-02T14:05:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T12:30:21.000Z (about 6 years ago)
- Last Synced: 2024-10-30T05:59:07.312Z (about 2 months ago)
- Language: Vue
- Homepage:
- Size: 87.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-trustedshops
[![npm version](https://badge.fury.io/js/%40pdir%2Fvue-trustedshops.svg)](https://badge.fury.io/js/%40pdir%2Fvue-trustedshops)
Vue plugin for Trustedshops
## Demo
https://codesandbox.io/s/w7z3vr77q8
## Sponsored by
The development is sponsored by [SIGNUU - make it unique](https://signuu.com)
## How-To Use it
### Install
npm install vue-trustedshops
Start using it in your Vue application
import Vue from 'vue'
import Testimonial from '@pdir/vue-trustedshops'Vue.use(Testimonial, {
tsid: 'YOUR-TRUSTEDSHOPS-ID'
})OR as Component in Single File
import Testimonial from './components/Testimonial.vue'
export default {
name: 'app',
components: {
Testimonial
}
}
#### OR as Component in main.js
In your application include the component in main.js
import "@pdir/vue-trustedshops";
import "@pdir/vue-trustedshops/dist/vue-trustedshops.css";and use the component in your template
## Project setup
```
yarn install
```### Compiles and hot-reloads for development
```
yarn run serve
```### Compiles and minifies for production
```
yarn run build
```### Run your tests
```
yarn run test
```### Lints and fixes files
```
yarn run lint
```