diff options
author | 2020-04-02 16:53:54 +0200 | |
---|---|---|
committer | 2020-04-02 16:53:54 +0200 | |
commit | 3aafd2c1f7539806449b116fa98d6bf0fff94de8 (patch) | |
tree | 727eb202e24d66836065e89c279d400c053563c0 /web/src/lib.rs | |
parent | 2fa6edf7a8b2a6e06b42ff9879fe81cbd1a957c6 (diff) | |
parent | 4a498ed0e3d0526ce9f47b7eefa0b2716f9b27a8 (diff) | |
download | iced-3aafd2c1f7539806449b116fa98d6bf0fff94de8.tar.gz iced-3aafd2c1f7539806449b116fa98d6bf0fff94de8.tar.bz2 iced-3aafd2c1f7539806449b116fa98d6bf0fff94de8.zip |
Merge pull request #252 from hecrj/improvement/documentation
Update and improve documentation
Diffstat (limited to 'web/src/lib.rs')
-rw-r--r-- | web/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ //! <html> //! <head> //! <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> +//! <meta name="viewport" content="width=device-width, initial-scale=1"> //! <title>Tour - Iced</title> //! </head> //! <body> |