wilsonhuynh / react-widget

A standalone JavaScript widget that can be embeded to any website using ReactJs & Webpack 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embeddable Javascript Widget

A standalone JavaScript widget that can be embeded to any website using ReactJs & Webpack 4

Features

  • Full ES6/ES2015 support with Babel
  • Package all javascripts, css together into one single file using with Webpack 4
  • No css styling conflicts between the widget & host page with cleanslate
  • Widget can be added to the host page on pageload or at runtime
  • Continuous Integration ready

Getting started

Requirement

  • Visual Studio Code
  • NodeJs

Development

Install npm packages:

> npm install

Start the web server:

> npm start

Build

> npm build

Deployment

Use netlify to deploy the site

About

A standalone JavaScript widget that can be embeded to any website using ReactJs & Webpack 4


Languages

Language:JavaScript 84.9%Language:CSS 8.9%Language:HTML 6.2%