mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
Fix sql example in readme (#91)
The line where the plugin is added: `.plugin(tauri_plugin_sql::Builder::default())` give my this error; ```the trait `Plugin<tauri_runtime_wry::Wry<EventLoopMessage>>` is not implemented for `tauri_plugin_sql::Builder```` I found this fix: https://github.com/tauri-apps/tauri/issues/5947 and it works.
This commit is contained in:
committed by
GitHub
parent
f6ab641e08
commit
d33ee156b8
@@ -42,7 +42,7 @@ First you need to register the core plugin with Tauri:
|
||||
```rust
|
||||
fn main() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_sql::Builder::default())
|
||||
.plugin(tauri_plugin_sql::Builder::default().build())
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user