Host Integration Steps
When the EvoLayer Base framework is installed into an application, several host-level files are modified to support the substrate. In the Starter Kit, these edits are pre-applied.
Pre-applied Modifications
app/Http/Middleware/HandleInertiaRequests.php: Shares theevolayer.base.{examples,features}properties via Inertia to the client.app/Models/User.php: Injects theSpatie\Permission\Traits\HasRolestrait to enable role-based gating (e.g.,hasRole('admin')).resources/js/components/app-sidebar.tsx: Renders the enabled example pages dynamically using theuseExampleNavItems()hook.resources/js/types/global.d.ts: Provides strict TypeScript definitions for theevolayershared prop.database/seeders/DatabaseSeeder.php: Automatically seeds the baseline AI capability ledger and the required admin demonstration user ([email protected]).
Was this page helpful?
Source: xuple/evodevops/resources/js/pages/docs/evolayer-base/reference/host-integration-steps.tsx