5 unstable releases
0.3.0 | Sep 2, 2023 |
---|---|
0.2.0 | Jul 16, 2023 |
0.1.4 | Jan 16, 2023 |
0.1.3 | Jan 15, 2023 |
0.1.1 | Jan 15, 2023 |
#32 in #ssr
135KB
3K
SLoC
Stellation
A framework experience for Yew.
Stellation provides a development stack with:
- Tooling around Server-side Rendering Support.
- An easy-to-use, SSR-transparent RPC Implementation.
- A development server that automatically rebuild upon changes.
- A single binary distribution with embedded frontend.
Quickstart Guide
-
Install required tools
Stellation uses the following tools:
- Trunk
- cargo-generate
- cargo-make
They can be installed with cargo install trunk cargo-generate cargo-make
-
Create project
Run
cargo generate futursolo/stellation-templates
and follow the prompt. -
Start development server
Run
cargo make --quiet start
in the project directory.(This may take a couple minutes when the project is building for the first time.)
lib.rs
:
Framework experience for Yew.
Stellation provides a Yew development stack with:
- Tooling around Server-side Rendering Support.
- An easy-to-use, SSR-transparent RPC Implementation.
- A development server that automatically rebuild upon changes.
- A single binary distribution with embedded frontend.
Components
- stellation-frontend: The frontend application.
- stellation-backend: The backend server.
- stellation-bridge: The bridge that provides communication between frontend and backend.
- [stctl]: Command line utility for building and serving development server.
Dependencies
~35–49MB
~835K SLoC