Docs: more examples and docs
This commit is contained in:
1 parent
100a78f321
commit
7fbaf69cab
9 files changed
+177
-54
No files matched your search
@@ -23,21 +23,15 @@ wasm-bindgen-test = "0.3.21"
|
||||
once_cell = "1.7.2"
|
||||
atoms = { path="../atoms" }
|
||||
|
||||
# wasm-bindgen = "0.2.70"
|
||||
# futures = "0.3.12"
|
||||
# html-validation = { path = "../html-validation", version = "0.1.1" }
|
||||
|
||||
async-channel = "1.6.1"
|
||||
nohash-hasher = "0.2.0"
|
||||
anyhow = "1.0.41"
|
||||
# futures-lite = "1.11.3"
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3.50"
|
||||
features = [
|
||||
"Comment",
|
||||
"Document",
|
||||
# "DataTransfer",
|
||||
"Element",
|
||||
"HtmlElement",
|
||||
"HtmlInputElement",
|
||||
@@ -64,18 +58,12 @@ features = [
|
||||
"DocumentType",
|
||||
"CharacterData",
|
||||
"HtmlOptionElement",
|
||||
|
||||
]
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
opt-level = 's'
|
||||
|
||||
# debug = true
|
||||
|
||||
# [profile.release]
|
||||
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
@@ -83,7 +71,3 @@ crate-type = ["cdylib", "rlib"]
|
||||
im-rc = "15.0.0"
|
||||
rand = { version="0.8.4", features=["small_rng"] }
|
||||
uuid = { version="0.8.2", features=["v4", "wasm-bindgen"] }
|
||||
|
||||
[[example]]
|
||||
name = "todomvc"
|
||||
path = "./examples/todomvc/main.rs"
|
||||
@@ -12,6 +12,7 @@
|
||||
//!
|
||||
|
||||
use dioxus_core::prelude::*;
|
||||
use dioxus_core as dioxus;
|
||||
use dioxus_web::WebsysRenderer;
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in new issue
Block a user