The base template for Create React WPTheme.
npm install cra-template-wpthemeThis is the official base template for Create React WPTheme.
See the latest README on Github.
- Remove WebPackDevServer and use your WordPress dev server instead.
- Also, do not proxy the WordPress server.
- Thus removing CORS as a concern.
- Maintain feature parity(ish) with create-react-app
- Touch the original react-scripts as little as possible.
- Add new files where possible.
- This will make merges easier.
I'm grateful to the authors of existing related projects for their ideas and collaboration:
The original.
I used this as an example for writing my own plugin for watching changes to the create-react-app "public" folder.
Create React WP Theme is open source software licensed as MIT.