integrations/vue/nuxt-4
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack Vue Query Nuxt 4 Integration#
Checks that @tanstack/vue-query and @tanstack/vue-query-devtools build and type-check with Nuxt 4.
What it checks#
app/plugins/vue-query.tsinstallsVueQueryPluginwith aQueryClient, storesdehydrate(queryClient)inuseStateon the server'sapp:renderedhook, and callshydrateon the client'sapp:createdhook.app/app.vuereads a query withuseQuery, renders its pending, error, and success states, and rendersVueQueryDevtools.tsconfig.jsonreferences the generated.nuxt/tsconfig.app.json,.nuxt/tsconfig.server.json,.nuxt/tsconfig.shared.json, and.nuxt/tsconfig.node.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-4:buildpnpm nx run @tanstack/query-integration-vue-nuxt-4:test:types