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/config for the solidStart() Vite plugin
  • @solidjs/start/router for file-routed UI integration
  • @solidjs/start/server for server rendering helpers and server-side types
  • @solidjs/start/http for request, response, cookie, and session helpers
  • @solidjs/start/middleware for 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 query and action
  • 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.

Last updated: 7/4/26, 5:28 PMEdit this pageReport an issue with this page