@devloco/cra-template-wptheme
v3.3.0-wp.4
Published
The base template for Create React WPTheme.
Downloads
5
Maintainers
Readme
cra-template-wptheme
This is the official base template for Create React WPTheme.
Create React WP Theme
See the latest README on Github.
Goals
- 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.
Acknowledgements
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.
License
Create React WP Theme is open source software licensed as MIT.