Skip to content

stuartlynn/Component_model_example

Repository files navigation

Component model example

This repo is to explore using the component model in wasm through rust to deliver functionality to web apps.

It uses

  • WIT to define an interface
  • cargo-component to build it in to a wasm component
  • jco to produce bindings for that component for JS
  • svelte as a framework

Building the wasm component

The wasm component can be built using

pnpm build_wasm 

this will produce the wasm file and the JS bindings

Runnning the app

pnpm dev 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published