tanstack-start-spa-prerender

Community

Pre-render SPA routes for fast GitHub Pages.

Authormatthewharwood
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enable fast, static deployments of TanStack Start-based SPAs by prerendering routes for GitHub Pages, eliminating server dependencies and ensuring instant navigation on first load.

Core Features & Use Cases

  • SPA mode with full prerender for all routes, producing a client-ready static artifact.
  • No server functions or server loaders; the shell prerenders and hydrates from IndexedDB on first client load.
  • GitHub Pages integration patterns (BASE_PATH, 404.html fallback) handled by the nitro skill, reducing manual deploy steps.

Quick Start

Enable SPA prerender in your Vite config using tanstackStart and run bun run check to produce the static site.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tanstack-start-spa-prerender
Download link: https://github.com/matthewharwood/dean-stack/archive/main.zip#tanstack-start-spa-prerender

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.