Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fitzy1321/leptos_exp

Experiment Leptos - Client Side Rendered on Github Pages
https://github.com/fitzy1321/leptos_exp

leptos leptos-rs rust

Last synced: about 7 hours ago
JSON representation

Experiment Leptos - Client Side Rendered on Github Pages

Awesome Lists containing this project

README

        

# Experiment Leptos

Q: What's it like making a web app with Leptos?
A: Pretty freaking sweet ✨ 😎 🚀

## Setup

1. Install [Rust](https://www.rust-lang.org/tools/install)
2. Install [Just](https://github.com/casey/just) task runner
`brew install just`
3. Run the following to setup wasm dev environment on your local machine

```sh
rustup toolchain install nightly
rustup target add wasm32-unknown-unknown
cargo install trunk
```

## Run locally

Make sure everything above is done first ☝️.

To build and run locally: `just` or `just default`.

Check out `justfile` for common tasks. Tasks are (currently) use [Trunk](https://trunkrs.dev/) WASM Web Application Bundler.

## Some Notes

```sh
# this will generate a full leptos instance for ssr, ssg, and csr.
cargo install cargo-leptos
cargo leptos new --git https://github.com/leptos-rs/start -n project-name

cargo leptos watch
```

## References

-
-
-