-
Notifications
You must be signed in to change notification settings - Fork 133
Description
In the long term, starter templates should be added to cargo-leptos to make the 'getting started' experience as smooth as possible. In the meantime, there have been questions from users in Discord about how to deploy Leptos websites/apps to multiple platforms.
So, as a follow-up to leptos-rs/leptos#2032:
We should refactor the "Deployment" chapter to separate CSR app deployment from SSR app deployment.
In the CSR deployment chapter, add:
https://github.com/diversable/leptos-spin-CSR
In the SSR deployment chapter, add a template for AWS Lambda: see below
Deploying to WinterCG-enabled environments (Deno Deploy, Cloudflare,etc):
see https://github.com/leptos-rs/leptos/releases/tag/v0.5.0
Also, look into creating templates for:
- Deno Deploy
- Cloudflare
- Spin SSR (*if the req'd PR gets merged to enable this setup)
cf. 'gbj' comment on Discord:
"""
It would be great to also have Deno Deploy, Cloudflare, Spin starters. The easier we make it for people the better
"""