Skip to content

Installation

Install vuqs with your package manager of choice:

bash
pnpm add @vuqs/core
bash
npm install @vuqs/core
bash
yarn add @vuqs/core
bash
bun add @vuqs/core

Requirements

RequirementVersionNotes
Vue>=3.5Built on the current reactivity APIs.
vue-router4 || 5Optional peer dependency, used only by the built-in adapter.
Node>=22For local development. ESM-only, no CommonJS build.

Most apps already have vue-router, so the built-in adapter needs nothing extra.

Using Nuxt?

@vuqs/nuxt wraps the core: it provides the vue-router adapter app-wide and auto-imports the composables and codecs.

Next

The core never touches the URL on its own. Set up an adapter so vuqs can read the query and navigate, then bind your first query state.

Released under the MIT License.