Wordpress site building with Timber and TailwindCSS.
src\SITE
folder in your root folder. This is where all your site specific classes (post type definitions, blocks, commands, migrations, etc.) belong.composer install
to get PHP dependencieswp-config.php
or functions.php
or a custom plugin to load the composer librariesif (file_exists(__DIR__ . '/vendor/autoload.php')) {
require_once(__DIR__ . '/vendor/autoload.php');
}
composer run theme
to install the starter themenpm install
and then npm run dev
to make sure your build system is working.