https://github.com/miteshtagadiya/embedded-react-widget
Embedded React Widget to deploy on your website.
https://github.com/miteshtagadiya/embedded-react-widget
embedded-react-widget embedded-widget react-widget react-widgets
Last synced: 10 months ago
JSON representation
Embedded React Widget to deploy on your website.
- Host: GitHub
- URL: https://github.com/miteshtagadiya/embedded-react-widget
- Owner: miteshtagadiya
- Created: 2020-06-30T17:54:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-05T02:44:33.000Z (over 5 years ago)
- Last Synced: 2025-03-24T02:22:30.859Z (11 months ago)
- Topics: embedded-react-widget, embedded-widget, react-widget, react-widgets
- Language: JavaScript
- Homepage:
- Size: 546 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Embedded React Widget
- Embedded React Widget to deploy on your website.
## Demo

## Running the widget
### Install dependencies
```sh
$ npm install
```
### Start the development server
```sh
$ npm start
```
### Production build
```
$ npm run build
... create files in /dist
```
## How to add Embedded widgets to you website?
- Add /dist/widget.js file to your project.
- import widget.js file.
```
```
- Mount EmbeddableWidget.
```
`
EmbeddableWidget.mount();
```
## Acknowledgments
I found helpful guidance in this project from the following site:
https://github.com/seriousben/embeddable-react-widget