Skip to content

Commit

Permalink
feat: monaco as a component
Browse files Browse the repository at this point in the history
  • Loading branch information
Datron committed Jul 29, 2024
1 parent 73b5dbc commit 6f977b8
Show file tree
Hide file tree
Showing 15 changed files with 284 additions and 178 deletions.
141 changes: 119 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ anyhow = "1.0.75"
strum_macros = "0.25"
strum = "0.25"
blake3 = "1.3.3"
leptos = { version = "0.5.2" }
leptos_meta = { version = "0.5.2" }
leptos_router = { version = "0.5.2" }
leptos = { version = "0.6.11" }
leptos_meta = { version = "0.6.11" }
leptos_router = { version = "0.6.11" }
leptos_actix = { version = "0.6.11" }
thiserror = { version = "1.0.57" }
leptos-use = "0.10.3"
mime = "0.3.17"
Expand Down
8 changes: 4 additions & 4 deletions crates/frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ cfg-if = "1"
http = { version = "0.2", optional = true }
leptos = { workspace = true }
leptos_meta = { workspace = true }
leptos_actix = { version = "0.5.2", optional = true }
leptos_actix = { workspace = true, optional = true }
leptos_router = { workspace = true }
wasm-bindgen = "=0.2.89"
reqwest = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
web-sys = "0.3.64"
web-sys = { version = "0.3.64", features = ["Event", "Worker", "Blob", "Window"] }
futures = "0.3"
derive_more = { workspace = true }
anyhow = { workspace = true }
Expand All @@ -31,8 +31,8 @@ strum = { workspace = true }
js-sys = "0.3.65"
url = "2.5.0"
once_cell = { workspace = true }
leptos-use = { workspace = true}

leptos-use = { workspace = true }
monaco = { git = "https://github.com/datron/rust-monaco.git" }

[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
Expand Down
Binary file added crates/frontend/assets/codicon.ttf
Binary file not shown.
Loading

0 comments on commit 6f977b8

Please sign in to comment.