An open API service indexing awesome lists of open source software.

https://github.com/diversable/deployment-csr-gh-pages


https://github.com/diversable/deployment-csr-gh-pages

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          


Leptos Logo

# 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.