-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
@h3ravel/viewFeature RequirementThese labels are applied to issues that are part of the the project's requiments.These labels are applied to issues that are part of the the project's requiments.enhancementNew feature or requestNew feature or requestfrontendhelp wantedExtra attention is neededExtra attention is neededintegration
Description
Background: Inertia.js allows us to create modern single-page React, Vue, and Svelte apps using classic server-side routing, for this reason we need to integrate Inertia to improve the DX and portability of the framework. This provides SPA-like behavior while keeping routing and controllers on the backend.
Tasks:
- Install and configure Inertia.js server-side adapter.
- Add your implementation to the framework/view package directory
- Provide middleware for sharing props globally to all Inertia responses.
- Add helpers to return Inertia responses from controllers.
- Ensure compatibility with Vue, React, and Svelte adapters on the frontend.
- Add sample demo showing controller → Inertia → frontend rendering.
- Write tests to ensure Inertia responses and shared props work correctly.
Acceptance criteria:
- Controllers can return
inertia('Dashboard', { user })and render correctly in chosen frontend. - Global shared props are available across all Inertia pages.
- Works with multiple frontend adapters.
- Interface mirrors laravel as much as possible, creating the familiar DX while also adding it own unique twists and turns.
Difficulty: large
Metadata
Metadata
Assignees
Labels
@h3ravel/viewFeature RequirementThese labels are applied to issues that are part of the the project's requiments.These labels are applied to issues that are part of the the project's requiments.enhancementNew feature or requestNew feature or requestfrontendhelp wantedExtra attention is neededExtra attention is neededintegration