A WordPress theme starter powered by Timber, Tailwind, esbuild, and rollup.js.
You'll need to install the following on your machine before getting started
- Local by Flywheel
- Node (v16.13.0)
- pnpm
- Timber
First, create a fresh WP instance with Flywheel.
Next, clone this repo. Create a .env file with the following variables based on the WP instance you just created. Make sure WP_PATH is an absolute path to the root of the WordPress install.
WP_SERVER=wpstarter.local
WP_PATH=/Users/mikewagz/Local Sites/wpstarter/app/public
WP_THEME=wp-starter-theme
From the project root, install project dependencies using pnpm:
pnpm i
Now you can run the development server at http://localhost:3000
pnpm dev
Or build for production
pnpm build