update readme
This commit is contained in:
parent
35f39a8034
commit
ae7159889b
1 changed files with 11 additions and 0 deletions
|
@ -1,9 +1,20 @@
|
||||||
# Planetwars frontend
|
# Planetwars frontend
|
||||||
|
|
||||||
|
This is the main folder of the Planetwars frontend.
|
||||||
|
Here you can compile the rust wasm files needed in the 'WWW' folder that is actually used to host the server.
|
||||||
|
When making changes make sure you recompile them using `wasm-pack build`
|
||||||
|
and webpack is running in www with `npm start` from the www folder.
|
||||||
|
|
||||||
|
### Build
|
||||||
|
|
||||||
|
wasm-pack build
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
- rustup, rustc, cargo
|
- rustup, rustc, cargo
|
||||||
- npm
|
- npm
|
||||||
|
- wasm-pack
|
||||||
|
- nightly, wasm32-unknown-unknown target
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue