https://github.com/acgetchell/spin-leptos
Leptos + Spin project
https://github.com/acgetchell/spin-leptos
Last synced: over 1 year ago
JSON representation
Leptos + Spin project
- Host: GitHub
- URL: https://github.com/acgetchell/spin-leptos
- Owner: acgetchell
- Created: 2024-07-14T04:39:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T17:42:27.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T05:15:31.411Z (over 1 year ago)
- Language: Rust
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spin + Leptos sandbox
[](https://github.com/acgetchell/spin-leptos/actions/workflows/ci.yml)
[This] is a simple example of a Spin server that serves a Leptos application.
## Prerequisites
- Rust [with the `wasm32-wasi` target](https://developer.fermyon.com/spin/v2/install) - `rustup target add wasm32-wasi`
- [Spin]
- [cargo-leptos] - `cargo install --locked cargo-leptos`
Build and run:
- `spin up --build` to build and run the server. It will print the application URL.
[This]:https://spin-leptos-h8cj5c3j.fermyon.app
[Spin]:https://developer.fermyon.com/spin/v2/install
[cargo-leptos]:https://github.com/leptos-rs/cargo-leptos#getting-started