diff --git a/.gitignore b/.gitignore index ea8c4bf..a803f50 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /target +/dist \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index d4f232b..1b2fcaa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -921,6 +921,7 @@ dependencies = [ name = "simplex_web" version = "0.1.0" dependencies = [ + "wasm-bindgen", "web-sys", "yew", ] diff --git a/Cargo.toml b/Cargo.toml index d790507..240e6dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,5 +4,6 @@ version = "0.1.0" edition = "2024" [dependencies] +wasm-bindgen = "0.2.103" web-sys = { version = "0.3.80", features = ["console"] } yew = { version = "0.21.0", features = ["csr"] } diff --git a/dist/index.html b/dist/index.html index 3c9ef33..6014432 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,10 +1,26 @@ +