From 90cf272d6779ba2385ea5f574a19430d9a9975af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Thu, 2 Apr 2020 03:09:16 +0200 Subject: [PATCH] Update `iced_web` build documentation --- web/README.md | 1 + web/src/lib.rs | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/README.md b/web/README.md index 83d1500f..1b818ab6 100644 --- a/web/README.md +++ b/web/README.md @@ -50,6 +50,7 @@ Once the example is compiled, we need to create an `.html` file to load our appl + Tour - Iced diff --git a/web/src/lib.rs b/web/src/lib.rs index a0b39c4a..29120dbf 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -23,8 +23,8 @@ //! //! ```bash //! cd examples -//! cargo build --example tour --target wasm32-unknown-unknown -//! wasm-bindgen ../target/wasm32-unknown-unknown/debug/examples/tour.wasm --out-dir tour --web +//! cargo build --package tour --target wasm32-unknown-unknown +//! wasm-bindgen ../target/wasm32-unknown-unknown/debug/tour.wasm --out-dir tour --web //! ``` //! //! Then, we need to create an `.html` file to load our application: @@ -34,6 +34,7 @@ //! //! //! +//! //! Tour - Iced //! //!