omega restructuring + a bunch of changes i have made over the last weeks
This commit is contained in:
0
docs/architecture.md
Normal file
0
docs/architecture.md
Normal file
22
docs/usage/wasm.md
Normal file
22
docs/usage/wasm.md
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
# Use mize in a js project
|
||||
|
||||
## On the Web
|
||||
```bash
|
||||
npm init wasm-app project_dir
|
||||
cd project_dir
|
||||
npm install @c2vi/mize
|
||||
```
|
||||
|
||||
|
||||
|
||||
## Build npm package yourself
|
||||
### with nix
|
||||
```bash
|
||||
nix build github:c2vi/mize#npmPackage
|
||||
```
|
||||
|
||||
### without nix
|
||||
```bash
|
||||
wasm-pack build -- --features target-wasm
|
||||
```
|
||||
Reference in New Issue
Block a user