|
@@ -7,9 +7,10 @@ fn main() {
|
|
fn app(cx: Scope) -> Element {
|
|
fn app(cx: Scope) -> Element {
|
|
cx.render(rsx! {
|
|
cx.render(rsx! {
|
|
div {
|
|
div {
|
|
- "This should show an image:"
|
|
|
|
|
|
+ p {
|
|
|
|
+ "This should show an image:"
|
|
|
|
+ }
|
|
img { src: "examples/assets/logo.png" }
|
|
img { src: "examples/assets/logo.png" }
|
|
- img { src: "/Users/jonkelley/Desktop/blitz.png" }
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|