Move examplef out of showcase

This commit is contained in:
Denis Kolodin 2018-04-15 09:41:51 +03:00
parent 8267b3a380
commit 8f227f949b
63 changed files with 31 additions and 47 deletions

View File

@ -58,6 +58,8 @@ check_all_examples() {
done
}
# Check showcase only to speed up a building with CI
# Showcase includes all other examples
SHOWCASE=$(pwd)/examples/showcase
check_example asmjs-unknown-emscripten $SHOWCASE
check_example wasm32-unknown-emscripten $SHOWCASE

View File

@ -1,19 +1 @@
# Yew Dashboard Example (Fetch & WebSocket)
## Build and run the client
Enter the `client` folder and run:
```sh
cargo web start
```
## Build and run the server
Enter to `server` folder and run:
```sh
cargo build && ./target/debug/server
```
It opens `ws://localhost:9001/` websocket endpoint.
# Yew Examples

View File

@ -5,4 +5,4 @@ authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
stdweb = "0.4.2"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -6,4 +6,4 @@ authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
serde = "1"
serde_derive = "1"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -4,4 +4,4 @@ version = "0.1.0"
authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -7,4 +7,4 @@ authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
failure = "0.1"
serde = "1"
serde_derive = "1"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -4,4 +4,4 @@ version = "0.1.0"
authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -5,5 +5,5 @@ authors = ["Diego Cardoso <dige0card0s0@hotmail.com>",
"Ilya Bogdanov <fumlead@gmail.com"]
[dependencies]
yew = { path = "../../../.." }
yew = { path = "../.." }
rand = "0.4.1"

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -5,4 +5,4 @@ authors = ["Garrett Berg <vitiral@gmail.com>"]
[dependencies]
stdweb = "0.4.2"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -4,4 +4,4 @@ version = "0.1.0"
authors = ["qthree <qthree3@gmail.com>"]
[dependencies]
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -5,4 +5,4 @@ authors = ["Ben Berman <ben@standardbots.com>"]
[dependencies]
stdweb = "0.4"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -8,4 +8,4 @@ failure = "0.1"
serde = "1"
serde_derive = "1"
stdweb = "0.4"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -5,17 +5,17 @@ authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
yew = { path = "../.." }
counter = { path = "sub/counter" }
crm = { path = "sub/crm" }
custom_components = { path = "sub/custom_components" }
dashboard = { path = "sub/dashboard" }
fragments = { path = "sub/fragments" }
game_of_life = { path = "sub/game_of_life" }
inner_html = { path = "sub/inner_html" }
large_table = { path = "sub/large_table" }
mount_point = { path = "sub/mount_point" }
npm_and_rest = { path = "sub/npm_and_rest" }
textarea = { path = "sub/textarea" }
timer = { path = "sub/timer" }
todomvc = { path = "sub/todomvc" }
two_apps = { path = "sub/two_apps" }
counter = { path = "../counter" }
crm = { path = "../crm" }
custom_components = { path = "../custom_components" }
dashboard = { path = "../dashboard" }
fragments = { path = "../fragments" }
game_of_life = { path = "../game_of_life" }
inner_html = { path = "../inner_html" }
large_table = { path = "../large_table" }
mount_point = { path = "../mount_point" }
npm_and_rest = { path = "../npm_and_rest" }
textarea = { path = "../textarea" }
timer = { path = "../timer" }
todomvc = { path = "../todomvc" }
two_apps = { path = "../two_apps" }

View File

@ -4,4 +4,4 @@ version = "0.1.0"
authors = ["Andrew Straw <strawman@astraw.com>"]
[dependencies]
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -4,4 +4,4 @@ version = "0.1.0"
authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -8,4 +8,4 @@ strum = "0.8.0"
strum_macros = "0.8.0"
serde = "1"
serde_derive = "1"
yew = { path = "../../../.." }
yew = { path = "../.." }

View File

@ -5,4 +5,4 @@ authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
[dependencies]
stdweb = "0.4"
yew = { path = "../../../.." }
yew = { path = "../.." }