Enable a Feature
Introduction
EvoLayer Base features and demo surfaces are controlled entirely via environment variables. This allows you to toggle features on and off without touching the codebase.
Step 1 — Setting the Environment Flag
To enable a feature or demo surface, open your .env file and set the corresponding flag to true.
For example, to enable the PRD Studio:
env
EVOLAYER_BASE_EXAMPLE_PRD_STUDIO=trueStep 2 — Restarting the Server
If you are running php artisan serve or the Vite dev server, you must restart your server processes to pick up the new environment variables.
Tip
The .env.example file in the starter kit has the complete kitchen-sink set enabled by default so you can see all available surfaces.
Was this page helpful?
Source: xuple/evodevops/resources/js/pages/docs/evolayer-base/how-to/enable-a-feature.tsx