pkpkpk / fressian-wasm-quick-start

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fressian-wasm-quick-start

Setup Rust

  1. Install Cargo

  2. Install the wasm toolchain

$ rustup default nightly
$ rustup update
$ rustup component add wasm32-unknown-unknown --toolchain nightly
$ cargo install --git https://github.com/alexcrichton/wasm-gc

Run $rustup update periodically to update the toolchain.

See cargo-cljs for more details.

Install and run the app

$ npm install
$ clj -A:build-dev

Once it has fired up..

(in-ns 'app.core)

(build)

;; ...wait while rust compiles the demo app. Devtools should give you pretty green message when it's ready.

(echo ["hello" "wasm"]) ;=> [nil ["hello" "wasm"]]


fressian-wasm

electron

This repo is basically the electron quick start with figwheel pasted in.

About


Languages

Language:JavaScript 39.6%Language:Clojure 39.6%Language:Rust 11.1%Language:HTML 9.8%