This repository is a WordPress sandbox built on Roots Bedrock to test and develop a Livewire-powered theme inside WordPress.
The project combines: Ryan Apanowicz ryan.apanowicz@cgphoenix.com
- Bedrock for WordPress dependency and environment management
- Acorn for Laravel-style bootstrapping inside the theme
- Livewire v4 for reactive UI in WordPress
- A custom child theme,
lativ-child, for block and component development - ACF Pro for custom block registration and editor configuration
This is not a generic Bedrock starter. The point of the repo is to explore how modern Laravel-style tooling can work inside WordPress, specifically:
- Booting Acorn from a WordPress FSE theme
- Using Livewire components in a WordPress frontend
- Registering custom Gutenberg blocks from the theme using blade views
- Pairing ACF block metadata with Blade-rendered block templates
-
Start the local environment:
lando start
-
Copy environment values and then edit it to add auth keys:
cp .env.example .env
-
Install root dependencies:
lando composer install
-
Add Laravel app key:
lando wp acorn key:generate
-
Install the theme's dependencies:
cd web/app/themes/lativ-child lando composer install -
Open the site:
https://bedrock-livewire.lndo.site