science Interactive Playground

Interactive Demo

Experience the reactivity and performance of SvelteKit with live components and real-time path configuration

add_circle

Counter Component

A simple interactive component demonstrating Svelte 5's reactive state management and sub-millisecond DOM updates.

Interactive Counter

0
info Click the buttons to test reactive state updates
route

Path Configuration

Real-time display of the current base path configuration, essential for GitHub Pages subdirectory deployment.

Path Configuration Status

Base Path: ..
Current Path: /sveltekit-starter-gh-pages/demo/
Full URL: http://sveltekit-prerender/sveltekit-starter-gh-pages/demo/
Environment: production
✓ Base path configured (Production mode)
deployed_code Base path automatically configured for your repository
explore

Navigation Test

Test that SvelteKit's client-side navigation works correctly with the base path configuration across all routes.

lightbulb
Pro Tip: Notice how navigation is instant with no page reload. SvelteKit's client-side router provides a seamless SPA experience while maintaining SSG benefits.