So, the idea is to add create-react-app like functionality to plone-react.This is the new app generator that we may use for initialising plone sites just with a single command like
create-plone-react app or so. We may use Pastanaga UI as a boilerplate theme.Also we can extend this by adding PWA functionality to it as CRA is a PWA itself.
Here's the basic approach I have decided to follow so far (correct me if I missed something):
- Trigger create-react-app to create a new app with a provided app name.
- Configure, download and install a list of additional packages.(Here power of webpack and other tools may come in handy).
- Replace the default template files with new files as needed.(May be pastanaga theme will be in use here).
This is listed under GSOC projects list. Any feedback regarding is appreciated.