Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Web Demo

This directory of the project contains a build of pasfmt for web assembly, paired with a web editor that runs it in a side-by-side view.

Build WASM

Prerequisites

  1. Rust (and cargo)
  2. wasm-pack:
    cargo install wasm-pack

Build

cd web/
wasm-pack build --target web

Build Web UI

Prerequisites

  1. Node.js
  2. Dependencies
    cd web/demo
    npm install

Build

cd web/demo

# for development
npx vite

# for production
npx vite build