integrations/vue/nuxt-3
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack Vue Query Nuxt 3 Integration#
Checks that @tanstack/vue-query and @tanstack/vue-query-devtools build and type-check with Nuxt 3.
What it checks#
plugins/vue-query.tsinstallsVueQueryPluginwith aQueryClient, storesdehydrate(queryClient)inuseStateon the server'sapp:renderedhook, and callshydrateon the client'sapp:createdhook.app.vuereads a query withuseQuery, renders its pending, error, and success states, and rendersVueQueryDevtools.tsconfig.jsonextends.nuxt/tsconfig.json.- CI runs the
build(nuxt build) andtest:types(nuxt typecheck) scripts.
To run it from the repository root:
pnpm nx run @tanstack/query-integration-vue-nuxt-3:buildpnpm nx run @tanstack/query-integration-vue-nuxt-3:test:types