@queryweave/vue
Vue-native binding contracts for QueryWeave.
1,042
7
| Install | |
|---|---|
npm install @queryweave/vue |
|
| Latest Version: | 0.1.0-beta.5 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 3, 2026 |
| Links: | GitHub · npm |
Maintainer: boussadjra
@queryweave/vue
Vue-native bindings over @queryweave/core.
pnpm add @queryweave/vue
import { provideQueryAdapter, useQueryModel } from "@queryweave/vue";
provideQueryAdapter(adapter); // reaches this component and every component below it
const filters = useQueryModel(productFilters);
filters.values.page; // readonly reactive state
filters.status; // "valid" | "invalid" | "pending"
filters.issues; // readonly QueryIssue[]
const result = await filters.update({ search: "vue", page: 1 });
result.outcome; // "committed" | "refused" | "redirected" | "unchanged"
const search = filters.field("search", { navigation: "replace" }); // v-model target
await filters.settled(); // once an asynchronous refinement has settled
One model produces one binding: there is no hook per key, no tuple setter, and no direct mutation
as the primary API. The adapter arrives through provideQueryAdapter(), options.adapter, or
options.runtime — this package reads no browser globals. Subscriptions and runtimes are released
with the surrounding effect scope.
Vue is a peer dependency, and this package does not depend on Vue Router or Nuxt.
Documentation: https://queryweave.dev/frameworks/vue/
Related Packages
vue-route-state
Minimal Vue 3 composables for keeping reactive state in Vue Router query paramet...
0
1
@chronicstone/vue-route-query
Type-safe URL query parameter synchronization for Vue 3 with Zod validation
3,077
Version History
Pre-releases (6)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.0-beta.5 | >=3.5.0 <4 | MIT | |
| 0.1.0-beta.4 | >=3.5.0 <4 | MIT | |
| 0.1.0-beta.3 | >=3.5.0 <4 | MIT | |
| 0.1.0-beta.2 | >=3.5.0 <4 | MIT | |
| 0.1.0-beta.1 | >=3.5.0 <4 | MIT | |
| 0.1.0-alpha.1 | >=3.5.0 <4 | MIT |