working webpack
This commit is contained in:
parent
259006ce56
commit
dbf765dff4
|
@ -1,6 +1,10 @@
|
|||
# Demo application for mapgen
|
||||
|
||||
## Build the project:
|
||||
|
||||
```
|
||||
wasm-pack build
|
||||
```
|
||||
|
||||
This app uses:
|
||||
* [Urizen OneBit Tilesets](https://vurmux.itch.io/urizen-onebit-tilesets)
|
|
@ -11,7 +11,7 @@ pub fn main() -> Result<(), JsValue> {
|
|||
|
||||
// Manufacture the element we're gonna append
|
||||
let val = document.create_element("p")?;
|
||||
val.set_inner_html("Hello from Rust!");
|
||||
val.set_inner_html("Hello from Rust! 1");
|
||||
|
||||
body.append_child(&val)?;
|
||||
|
||||
|
|
1
demo/www
Submodule
1
demo/www
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9ac3dff9ebea4675e5c478bcdcbc0fd547d1529f
|
Loading…
Reference in New Issue
Block a user