planet-wars/frontend/README.md

22 lines
539 B
Markdown
Raw Normal View History

2019-09-13 20:54:21 +00:00
# Planetwars frontend
2019-09-13 20:59:54 +00:00
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
2019-09-13 20:54:21 +00:00
### Dependencies
- rustup, rustc, cargo
- npm
2019-09-13 20:59:54 +00:00
- wasm-pack
- nightly, wasm32-unknown-unknown target
2019-09-13 20:54:21 +00:00
...
Follow this link https://rustwasm.github.io/docs/book/game-of-life/setup.html