Vue plugin for Trustedshops
https://codesandbox.io/s/w7z3vr77q8
The development is sponsored by SIGNUU - make it unique
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
}
}
<Testimonial tsid="YOUR-TRUSTEDSHOPS-ID">
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
<Testimonial tsid="YOUR-TRUSTEDSHOPS-ID"/>
yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint