-
Try use external window to display app docs which have router path thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: RelativeUrlWithoutBase' With error[E0277]: the trait bound `url::Url: From<&str>` is not satisfied
--> src\main.rs:17:32
|
17 | tauri::WindowUrl::External("index.html".into())
| ^^^^^^^^^^^^ ---- required by a bound introduced by this call
| |
| the trait `From<&str>` is not implemented for `url::Url`
|
= note: required for `&str` to implement `Into<url::Url>`
For more information about this error, try `rustc --explain E0277`. So, are we able to still use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Got it, just using |
Beta Was this translation helpful? Give feedback.
Got it, just using
tauri::WindowUrl::App("/doc/index".into())
, my bad