This package a fork of Create React App to create a web component with React.
All the magic happens in the react-web-component-react-scripts
package, find it here.
Apart from generating a web component instead of a single page application everything works the same as in Create React App. Please refer to these repos / documentations for further details:
- react-web-component-react-scripts - The actual implementation in the repository
- Create React App - The original Create React App GitHub repository
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.