@kubb/plugin-vue-query
v5.14.5
Published
Generate type-safe TanStack Query (Vue Query) composables with Kubb. Covers useQuery, useMutation, useInfiniteQuery, and queryOptions with Vue 3 Composition API support.
Maintainers
Readme
@kubb/plugin-vue-query
Generate Vue Query composables with Kubb
@kubb/plugin-vue-query generates TanStack Query composables with Kubb. Each operation becomes a typed useQuery, useMutation, or useInfiniteQuery composable for Vue 3.
Installation
npx kubb add plugin-vue-query
# or
bun add @kubb/plugin-vue-query
# or
pnpm add @kubb/plugin-vue-query
# or
npm install @kubb/plugin-vue-querykubb add installs the version the Kubb registry pins and adds pluginVueQuery() to your kubb.config.ts. Run npx kubb init first if you have no config.
Documentation
See the full documentation for configuration options and examples.
Supporting Kubb
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
