- Embedded React Widget to deploy on your website.
$ npm install
$ npm start
$ npm run build
... create files in /dist
- Add /dist/widget.js file to your project.
- import widget.js file.
<script src="./widget.js"></script>
- Mount EmbeddableWidget.
` <script>
EmbeddableWidget.mount();
</script>
I found helpful guidance in this project from the following site: