-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
94 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
# cra-template-wptheme | ||
|
||
This is the official base template for [Create React WPTheme](https://github.com/devloco/create-react-wptheme). | ||
|
||
# Create React WP Theme | ||
|
||
See the latest [README](https://github.com/devloco/create-react-wptheme) 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: | ||
|
||
- [create-react-app](https://github.com/facebook/create-react-app) | ||
|
||
The original. | ||
|
||
- [filewatcher-webpack-plugin](https://www.npmjs.com/package/filewatcher-webpack-plugin) | ||
|
||
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](https://github.com/devloco/create-react-wptheme/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Create React WP Theme | ||
|
||
See the latest [README](https://github.com/devloco/create-react-wptheme) 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: | ||
|
||
- [create-react-app](https://github.com/facebook/create-react-app) | ||
|
||
The original. | ||
|
||
- [filewatcher-webpack-plugin](https://www.npmjs.com/package/filewatcher-webpack-plugin) | ||
|
||
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](https://github.com/devloco/create-react-wptheme/blob/master/LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters