Const
Sets the directory where the stores are saved. This will move all currently active stores to the new directory.
import { setStoreCollectionPath } from '@tauri-store/svelte';await setStoreCollectionPath('/path/to/new/directory'); Copy
import { setStoreCollectionPath } from '@tauri-store/svelte';await setStoreCollectionPath('/path/to/new/directory');
Sets the directory where the stores are saved. This will move all currently active stores to the new directory.