Skip to content

leptos-rs/book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5b2c1ab · Mar 5, 2025
Feb 13, 2024
Feb 22, 2025
Mar 5, 2025
Dec 1, 2023
Dec 1, 2023
May 11, 2024
Nov 24, 2023
Feb 13, 2024
May 11, 2024
May 11, 2024
Dec 1, 2023
May 11, 2024
May 11, 2024

Repository files navigation

Leptos Book

Introduction

This project contains the core of a new introductory guide to Leptos. Pull requests for any typos, clarification, or improvements are always welcome.

You can find the live version of this book on the Leptos Website.

Building the Book

It is built using mdbook. You can view a local copy by installing mdbook with Cargo.

cargo install mdbook --version 0.4.*

This book also uses an mdbook preprocessor called mdbook-admonish to style blocks of text like notes, warnings, etc.

cargo install mdbook-admonish --version 1.*

and then run the book with

mdbook serve

It should now be available at http://localhost:3000.

Optional: VSCode Dev Container

You can optionally build and run it in the example VSCode Dev Container, which will automatically install all dependencies, build the book, and serve it at http://localhost:3000 with live reloading.

Install Docker and the official Dev Containers extension, then open the project in VSCode and "Reopen in dev container" when prompted.

For more info, see: https://code.visualstudio.com/remote/advancedcontainers/use-docker-kubernetes

To run Docker commands inside the dev container, see: https://code.visualstudio.com/remote/advancedcontainers/use-docker-kubernetes