Skip to content

Starter templates: Laravel + Inertia + React, and Next.js with a server-rendering test #33

Closed

Description

@n4ff4h
  • templates/laravel-inertia-react: a Laravel + Inertia + React app wired up with Onu (provider, Tailwind, fonts, RTL/Dhivehi switch, an admin shell page and a form posting to a controller with Laravel validation errors).
  • templates/nextjs: a minimal Next.js (App Router) app using Onu.
  • CI builds both against the workspace copy of the library, and renders the Next.js app on the server and checks the HTML (R16.1).

Activity

  1. n4ff4h commented on Oct 14, 2026

    @n4ff4h
    CollaboratorAuthor

    Done in 66145c0 (merged in c663928). The Templates workflow is green on main.

    • templates/laravel-inertia-react: Laravel 13 + Inertia v3 + React with Onu's admin shell, an English/Dhivehi switch (session plus middleware, with lang/dir rendered on the server) and an application form whose Laravel validation errors appear on the Onu fields. 9 feature tests.
    • templates/nextjs: Next.js 16 App Router. pnpm test:ssr starts the built app and checks the server-rendered HTML in English and Dhivehi (RTL).
    • .github/workflows/templates.yml builds both against the workspace library, runs the Laravel tests and runs the SSR check.

    Library fix found on the way: the sidebar now includes its own TooltipProvider (73b3297).

    Not yet checked in a browser: form submission in either template. The Dhivehi strings in the templates still need a native speaker's review.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions