wally-reviews
v1.0.10
Published
A Wally Reviews package to display reviews from Google, TrustPilot, Facebook and other sources.
Downloads
31
Maintainers
Readme
Wally Reviews
This package is designed for use with getwally.net
⭐ It helps integrate and display reviews from platforms like Google, TrustPilot, and Facebook in any framework, such as Vue or React.
Installation
Install the package using npm or Yarn:
Using npm:
npm install wally-reviews
Using Yarn:
yarn add wally-reviews
Usage
Vue
In the Vue component where you want to display the reviews widget, import the wally-reviews package and add the custom HTML element to your template.
⚠️ Replace YOUR_WIDGET_ID with your actual widget ID.
<template>
<div>
<wally-reviews data-wally-widget="YOUR_WIDGET_ID"></wally-reviews>
</div>
</template>
<script>
import 'wally-reviews';
export default {
name: 'WallyReviews'
}
</script>
React
In the React component where you want to display the reviews widget, import the wally-reviews package and add the custom HTML element to your JSX.
⚠️ Replace YOUR_WIDGET_ID with your actual widget ID.
import React from 'react';
import 'wally-reviews';
const WallyReviews = () => (
<div>
<wally-reviews data-wally-widget="YOUR_WIDGET_ID"></wally-reviews>
</div>
);
export default WallyReviews;
Support
For support or questions, please visit getwally.net