Installation

better-wordpress is a suite of utilities that aim to simplify the WordPress theme development experience.

Create a new Theme
Add to an Existing Theme
1
Starting from the root of your WordPress site, navigate to the themes folder and use Composer to create a new better-wordpress project. > cd wp-content/themes
> composer create-project open-function-computers-llc/wp-theme <theme-name>
2
Next, navigate into your new theme and install better-wordpress' dependancies. > cd <theme-name>
> npm install
3
Finally, run Laravel Mix to begin compiling your Sass, JS, and other static assets in real-time as you work on your theme. > npx mix watch
🎉
And just like that, you're ready to go!