Skip to content

Embeddable whiteboard microapplication (react, socket, webcompnent)

Notifications You must be signed in to change notification settings

SmartForger/app-whiteboard

Repository files navigation

React Widget Boilerplate

This project is a boilerplate to create a widget with create-react-app and material-ui.

Problems solved in this repo:

  • Porting create-react-app to a web component using Shadow DOM.
  • Injecting css/scss styles into Shadow DOM.
  • Injecting jss styles into Shadow DOM.
  • Rendering select component, dialogs and modals in Shadow DOM

Direcotry structure

  • public/widget-ico.png: Widget Icon. (required).
  • public/src/material-ui: Patched Material UI components.
  • You are free to change other files and folders.

How to use the repo

Install dependencies

$ npm install

Development

$ npm start

This is only useful for UI development.

Build for packaging

$ npm run deploy

Package the widget to be used in dev-tools for further obfuscation and manifest generation.

About

Embeddable whiteboard microapplication (react, socket, webcompnent)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published