leptos-routing

Community

Typed Leptos routing with Axum mounting.

Authoradelabdelgawad
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Leptos routing for Rust apps can be verbose and error-prone when wiring typed paths, nested layouts, and Axum server mounting. This Skill provides a clear pattern-driven approach to configure a router with typed paths, nested routes via Outlet, and server mounting with leptos_routes_with_context.

Core Features & Use Cases

  • Typed path routing using the path! macro for type-safe routes.
  • Nested routes with Outlet to compose multi-level layouts.
  • Axum server mounting through leptos_routes_with_context to share context server-side.
  • Params and query handling with use_params and use_query_map for dynamic routes.
  • Programmatic navigation and islands-based links using use_navigate and <A> components.

Quick Start

Create a Router with path! and use Outlet, then mount it on Axum with leptos_routes_with_context to enable SSR routing.

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: leptos-routing
Download link: https://github.com/adelabdelgawad/rust-fullstack-agents/archive/main.zip#leptos-routing

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 510,000+ vetted skills library on demand.