Skip to content

miteshtagadiya/embedded-react-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded React Widget

  • Embedded React Widget to deploy on your website.

Demo

Running the widget

Install dependencies

$ npm install

Start the development server

$ 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.
    <script src="./widget.js"></script>
    
  • Mount EmbeddableWidget.
` <script>
      EmbeddableWidget.mount();
  </script>

Acknowledgments

I found helpful guidance in this project from the following site:

https://github.com/seriousben/embeddable-react-widget

Releases

No releases published

Packages

No packages published