Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fitzy1321/leptos_exp
- Owner: fitzy1321
- License: unlicense
- Created: 2024-07-19T21:49:23.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T21:04:29.000Z (4 months ago)
- Last Synced: 2024-10-09T20:06:17.937Z (about 1 month ago)
- Topics: leptos, leptos-rs, rust
- Language: Rust
- Homepage: https://fitzypop.github.io/leptos_exp/
- Size: 709 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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-namecargo leptos watch
```## References
-
-
-