Your First Block
Free blocks ship inside the EvoLayer Base package. If your app was generated from the starter, they are already installed — enabling one is a flag flip, not an install.
1. Turn the flag on
Each block gates behind an environment flag. In your app's .env:
bash
EVOLAYER_BASE_EXAMPLE_THREAD_STUDIO=true2. Clear config and rebuild routes
bash
php artisan config:clear
php artisan route:clear
php artisan wayfinder:generate --with-form --no-interaction
npm run build3. Find the surface
The block's routes register and its sidebar entry appears for authenticated users. ThreadStudio, for example, lives at /ai/thread-studio.
Framework-level details — resync, eject, and the flag system itself — are documented in the EvoLayer Base docs.
Was this page helpful?
Source: xuple/evodevops/resources/js/pages/docs/evocraft/tutorial/first-block.tsx