Overview
SolidStart 2.0 builds a full-stack app on top of Solid and Solid Router, with file-based routing, server functions, and Vite-based configuration.
The framework is split into a handful of entry points:
@solidjs/start/configfor thesolidStart()Vite plugin@solidjs/start/routerfor file-routed UI integration@solidjs/start/serverfor server rendering helpers and server-side types@solidjs/start/httpfor request, response, cookie, and session helpers@solidjs/start/middlewarefor middleware composition
What v2 keeps
The core model carries over from v1:
- File-based routing from
src/routes - API route handlers exported by HTTP method name
- Server-backed data loading and mutation with
queryandaction - Server-only code compiled from the
"use server"directive
What changed from v1
Configuration moved from app.config.ts to vite.config.ts through solidStart().
If you are upgrading an existing app, start with the migration guide.