https://github.com/diversable/deployment-csr-gh-pages
https://github.com/diversable/deployment-csr-gh-pages
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/diversable/deployment-csr-gh-pages
- Owner: diversable
- Created: 2024-02-09T21:38:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T11:12:44.000Z (over 2 years ago)
- Last Synced: 2025-01-19T21:32:33.519Z (over 1 year ago)
- Language: Rust
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# Deploying Leptos Client-Side Rendered (CSR) Apps to Github Pages
To create your own Leptos CSR App that deploys to Github Pages, go to https://github.com/leptos-community/start-csr and follow the instructions to set up a repo from the template, then:
Step 1: Go to your repo's settings, and click on "Pages". In the "Build and deployment" section of the page, change the "source" to "Github Actions".
Step 2: Copy the `.github/workflows/gh-pages-deploy.yml` file into your own repo.
Step 3: Commit to your main branch, and watch the magic happen.