mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-29 13:31:27 +02:00
docs(opener): add basic usage guide to readme (#2167)
* docs(opener): add basic usage guide to readme * Add missing `Ok(())` and `?` * Register plugin first
This commit is contained in:
@@ -128,6 +128,7 @@ fn main() {
|
||||
// Note that values must be serde_json::Value instances,
|
||||
// otherwise, they will not be compatible with the JavaScript bindings.
|
||||
store.set("a".to_string(), json!("b"));
|
||||
Ok(())
|
||||
})
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
||||
Reference in New Issue
Block a user