You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0599]: nomethodnamed`with_automatic_layout`foundforstruct`CodeEditorOptions`inthecurrentscope
--> yew\src\main.rs:16:10
|16|.with_automatic_layout(true)|^^^^^^^^^^^^^^^^^^^^^methodnotfoundin`CodeEditorOptions`error[E0277]: thetraitbound`monaco::yew::CodeEditor: yew::Component`isnotsatisfied
--> yew\src\main.rs:32:10
|32|<CodeEditorclasses={"full-height"}options={get_options().to_sys_options()}model={text_model.clone()}/>|^^^^^^^^^^thetrait`yew::Component`isnotimplementedfor`monaco::yew::CodeEditor`|=help: thetrait`yew::Component`isimplementedfor`ContextProvider<T>`=note: requiredfor`monaco::yew::CodeEditor`toimplement`yew::BaseComponent`=note: thiserrororiginatesinthemacro`html`(inNightlybuilds,runwith-Zmacro-backtraceformoreinfo)error[E0599]: thefunctionorassociateditem `new` exists for struct `VChild<CodeEditor>`, but its trait bounds were not satisfied --> yew\src\main.rs:32:10 |32 | <CodeEditor classes={"full-height"} options={ get_options().to_sys_options() } model={text_model.clone()} /> | ^^^^^^^^^^ function or associated item cannot be called on `VChild<CodeEditor>` due to unsatisfied trait bounds | ::: github.com-1ecc6299db9ec823\monaco-0.3.0\src\yew\mod.rs:28:1 |28 | pub struct CodeEditor { | --------------------- doesn't satisfy `monaco::yew::CodeEditor: yew::BaseComponent` | = note: the following trait bounds were not satisfied: `monaco::yew::CodeEditor: yew::BaseComponent` = note: this error originates in the macro `html` (inNightlybuilds,runwith-Zmacro-backtraceformoreinfo)
with
[dependencies]wasm-bindgen = "0.2.84"yew = { version = "0.20.0", features = ["csr"] }monaco = { version = "0.3.0", features = ["yew-components"] }
The text was updated successfully, but these errors were encountered:
with
The text was updated successfully, but these errors were encountered: