Update `iced_web` build documentation
This commit is contained in:
parent
e1e42f87bd
commit
90cf272d67
|
@ -50,6 +50,7 @@ Once the example is compiled, we need to create an `.html` file to load our appl
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
<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>
|
<title>Tour - Iced</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
//!
|
//!
|
||||||
//! ```bash
|
//! ```bash
|
||||||
//! cd examples
|
//! cd examples
|
||||||
//! cargo build --example tour --target wasm32-unknown-unknown
|
//! cargo build --package tour --target wasm32-unknown-unknown
|
||||||
//! wasm-bindgen ../target/wasm32-unknown-unknown/debug/examples/tour.wasm --out-dir tour --web
|
//! 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:
|
//! Then, we need to create an `.html` file to load our application:
|
||||||
|
@ -34,6 +34,7 @@
|
||||||
//! <html>
|
//! <html>
|
||||||
//! <head>
|
//! <head>
|
||||||
//! <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
//! <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>
|
//! <title>Tour - Iced</title>
|
||||||
//! </head>
|
//! </head>
|
||||||
//! <body>
|
//! <body>
|
||||||
|
|
Loading…
Reference in New Issue