This project is a boilerplate to create a widget with create-react-app
and material-ui
.
- 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
- public/widget-ico.png: Widget Icon. (required).
- public/src/material-ui: Patched Material UI components.
- You are free to change other files and folders.
$ npm install
$ npm start
This is only useful for UI development.
$ npm run deploy
Package the widget to be used in dev-tools for further obfuscation and manifest generation.