Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

介紹

This book is intended as an introduction to the Leptos Web framework. It will walk through the fundamental concepts you need to build applications, beginning with a simple application rendered in the browser, and building toward a full-stack application with server-side rendering and hydration.

The guide doesn’t assume you know anything about fine-grained reactivity or the details of modern Web frameworks. It does assume you are familiar with the Rust programming language, HTML, CSS, the DOM, and basic Web APIs.

Leptos 與 Solid(JavaScript)和 Sycamore(Rust)這類框架最為相似。它與其他框架如 React(JavaScript)、Svelte(JavaScript)、Yew(Rust)和 Dioxus(Rust)也有一些共通點,因此若您熟悉其中任一框架,可能也會更容易理解 Leptos。

You can find more detailed docs for each part of the API at Docs.rs.

The source code for the book is available here. PRs for typos or clarification are always welcome.