Skip to content

Commit

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

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

[dependencies]
common = { path = "../common" }
serde = "1"
serde_derive = "1"
yew = { path = "../../yew" }
common = { path = "../common" }
4 changes: 2 additions & 2 deletions examples/crm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#![recursion_limit = "256"]

#[macro_use]
extern crate serde_derive;
extern crate common;

use common::markdown;
use serde::{Deserialize, Serialize};
use yew::format::Json;
use yew::services::storage::Area;
use yew::services::{DialogService, StorageService};
Expand Down
10 changes: 9 additions & 1 deletion examples/crm/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#![recursion_limit = "256"]

mod lib;
use lib::Model;

extern crate serde_derive;
extern crate common;

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

0 comments on commit ae50043

Please sign in to comment.