Thanks to visit codestin.com
Credit goes to github.com

Skip to content
 
 

Latest commit

 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Leptos Spin templates

wasip3_demo.mp4

This repository contains custom Spin templates for bootstrapping Leptos applications running on WASI. It provides two options for WASI runtimes:

  1. leptos-wasmtime: derived from the counter example in the leptos_wasi repository. A pure WASIp3 Guest component that can be served via standard HTTP triggers using either Wasmtime or Spin.
  2. leptos-spin: derived from the spin-counter example in the leptos_wasi repository. A WASIp3 component built with the Fermyon spin-sdk using key-value triggers.

Installation

To install these templates from the Git repository:

spin templates install --git https://github.com/akamai-developers/leptos-spin --upgrade

Creating a New Project

To create a new project using one of the templates, run:

Option 1: Using the Standard WASIp3 Template (Wasmtime/Spin)

spin new <project-name> -t leptos-wasmtime

Option 2: Using the Spin SDK (WASIp3) Template

spin new <project-name> -t leptos-spin

About

Template for server-side Leptos apps on Spin

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages