This repo contains an experiment to create a basic example app using the ARCS crate running on the web.
To begin with, wasm-pack-template was used to make a starter rust-webassembly app and then ARCS was added in.
There are 2 requirements: wasm-pack and npm. Make sure you have them installed.
Follow these instructions to install npm.
Build the wasm from the main dir:
wasm-pack build
Install npm modules from the www
dir:
cd www
npm install
Run the server from the www
dir:
npm run start
View the result in the browser using the address shown when the server is started:
.
.
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
.
.