Expand description
§tauri-plugin-vue
Persistence for Tauri and Vue.
[!NOTE] This is not an official plugin.
§Features
- Save your stores to disk.
- Synchronize across multiple windows.
- Debounce or throttle store updates.
- Access the stores from both JavaScript and Rust.
§Documentation
Check the documentation for more information on how to install and use the plugin.
§Plugins
Currently, the following plugins are available:
Name | Version | Works with |
---|---|---|
tauri-store | Everything | |
@tauri-store/pinia | Vue, Nuxt | |
@tauri-store/svelte | Svelte | |
@tauri-store/valtio | React | |
@tauri-store/vue | Vue, Nuxt | |
@tauri-store/zustand | React |
§Supported Tauri Version
The plugins require Tauri 2.0
or later.
Structs§
- Builder
- Builder for the Vue plugin.
- Handle
- Plugin handle.
- Json
Marshaler - Serializes and deserializes JSON stores.
- Migration
- A migration step.
- Migration
Context - Context for a migration step.
- Pretty
Json Marshaler - Serializes and deserializes pretty JSON stores.
- Pretty
Toml Marshaler - Serializes and deserializes pretty TOML stores.
- Store
- A key-value store that can persist its state to disk.
- Store
Collection - A collection of stores. This is the core component for store plugins.
- StoreId
- Unique identifier for a store.
- Store
Options - Options to configure the store behavior.
- Store
State - Internal state of a store.
- Toml
Marshaler - Serializes and deserializes TOML stores.
- Vue
- The Vue plugin.
- VueMarker
- Marker for the Vue plugin.
- Watcher
Id - Unique watcher identifier.
Enums§
- Error
- Runtime errors for the stores.
- Json
- Represents any valid JSON value.
- Save
Strategy - The strategy to use when saving a store.
Traits§
- Manager
Ext - Extension for the
Manager
trait providing access to the Vue plugin. - Marshaler
- Describes how stores should be serialized and deserialized.
Functions§
- init
- Initializes the plugin with the default settings.