Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

create-react-wptheme

3.4.0-wp.3 • Public • Published

Create React WP Theme

Still Up to Date

Mar. 19, 2020
It's been a while, so I thought I'd just let everyone know that v3.4.0 of Create-React-App is still the latest. I'll keep my eye on it and update this project whenever Facebook releases a new version.


Getting Started

Michael Soriano is writing a tutorial for creating a theme using React. He uses create-react-wptheme for the initial setup. He provides a lot more detail than this readme and the screen shots are really helpful.

Check it out:
Let's build a WordPress theme with React: Part 1 (Setup)


See the full 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:

License

Create React WP Theme is open source software licensed as MIT.

Install

npm i create-react-wptheme

DownloadsWeekly Downloads

61

Version

3.4.0-wp.3

License

MIT

Unpacked Size

17.7 kB

Total Files

5

Last publish

Collaborators

  • avatar