tauri-apps / plugins-workspace

All of the official Tauri plugins in one place!
https://tauri.app
Apache License 2.0
930 stars 260 forks source link

[bug] Invalid args `rid` for command `load`: command load missing required key rid. #1973

Open bygimenez opened 3 hours ago

bygimenez commented 3 hours ago

Describe the issue Using Store.load as indicated in the docs results in an error:

Uncaught (in promise) invalid args rid for command load: command load missing required key rid

Steps to Reproduce

  1. Copy this example: const store = await Store.load("settings.json");
  2. See console

Environment: [✔] Environment

[-] Packages

[-] Plugins

[-] App

bygimenez commented 3 hours ago

I should add an id or something like that but it is wrongly indicated in the docs?

bygimenez commented 3 hours ago

i have read that it is fixed using createStore, but there is no export named like that, i guess it has changed.