34 lines
388 B
Markdown
34 lines
388 B
Markdown
rust-wasm
|
|
=========
|
|
|
|
Playground for rust stuff in the browser.
|
|
Currently it is a nice visualisation.
|
|
|
|
## Build
|
|
|
|
```
|
|
wasm-pack build
|
|
cd www
|
|
npm install
|
|
```
|
|
|
|
## Run
|
|
|
|
```
|
|
cd www
|
|
npm run start
|
|
```
|
|
|
|
This command automatically watches the files, so you can build
|
|
rust stuff and it will automatically appear.
|
|
|
|
|
|
## Deploy
|
|
|
|
```
|
|
cd www
|
|
npm run build
|
|
```
|
|
|
|
Then copy the dist directory to a server.
|
|
|