wip: add more svg elements, update readme

This commit is contained in:
Jonathan Kelley 2021-12-29 00:56:53 -05:00
parent 68318d86d3
commit ad4a0eb319
3 changed files with 12 additions and 6 deletions

View file

@ -81,9 +81,9 @@ If you know React, then you already know Dioxus.
## Examples:
| File Navigator (Desktop) | WiFi scanner (Desktop) | TodoMVC (All platforms) | Tailwind (Liveview) |
| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| [![asd](https://github.com/DioxusLabs/file-explorer-example/raw/master/image.png)](https://github.com/DioxusLabs/file-explorer-example) | [![Wifi Scanner Demo](https://github.com/DioxusLabs/wifi-scanner/raw/master/demo_small.png)](https://github.com/DioxusLabs/wifi-scanner) | [![asd](https://github.com/DioxusLabs/todomvc/raw/master/example.png)](https://github.com/dioxusLabs/todomvc/) | [![asd](https://github.com/DioxusLabs/file-explorer-example/raw/master/image.png)](https://github.com/DioxusLabs/file-explorer-example) |
| File Navigator (Desktop) | WiFi scanner (Desktop) | TodoMVC (All platforms) | Tailwind (Liveview) |
| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| [![asd](https://github.com/DioxusLabs/file-explorer-example/raw/master/image.png)](https://github.com/DioxusLabs/file-explorer-example) | [![Wifi Scanner Demo](https://github.com/DioxusLabs/wifi-scanner/raw/master/demo_small.png)](https://github.com/DioxusLabs/wifi-scanner) | [![TodoMVC example](https://github.com/DioxusLabs/todomvc/raw/master/example.png)](https://github.com/dioxusLabs/todomvc/) | [![Ecommerce Example](https://github.com/DioxusLabs/ecommerce-example/blob/master/demo.png)](https://github.com/DioxusLabs/ecommerce-example) |
See the awesome-dioxus page for a curated list of content in the Dioxus Ecosystem.

View file

@ -1165,4 +1165,11 @@ builder_constructors! {
};
/// Build a
/// [`<g>`](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g)
/// element.
g <> "http://www.w3.org/2000/svg" {
};
}

View file

@ -15,9 +15,8 @@ dioxus-core = { path = "../core", version = "^0.1.3", default-features = false }
dioxus-html = { path = "../html", version = "^0.1.0", default-features = false }
dioxus-core-macro = { path = "../core-macro", version = "^0.1.2" }
serde = "1.0.130"
serde = "1"
url = "2.2.2"
url_serde = "0.2.0"
serde_urlencoded = "0.7"
web-sys = { version = "0.3", features = [
@ -33,7 +32,7 @@ web-sys = { version = "0.3", features = [
], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
js-sys = { version = "0.3", optional = true }
gloo = { version = "0.4", optional = true }
gloo = { version = "0.5", optional = true }
[features]