Skip to content

Commit

Permalink
fix minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-peterson committed Jul 12, 2020
1 parent 1a8b048 commit e0e1ef7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion examples/minimal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ version = "0.1.0"
authors = ["Denis Kolodin <[email protected]>"]
edition = "2018"

[lib]
crate-type = ["cdylib"]

[dependencies]
yew = { path = "../../yew" }

wasm-bindgen = "0.2.64"
7 changes: 5 additions & 2 deletions examples/minimal/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
fn main() {
yew::start_app::<minimal::Model>();
mod lib;
use lib::Model;

pub fn main() {
yew::start_app::<Model>();
}

0 comments on commit e0e1ef7

Please sign in to comment.