Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

README.md

15 lines642 Bytes

1# TanStack Vue Query Vite Integration
2​
3Checks that `@tanstack/vue-query` and `@tanstack/vue-query-devtools` build and type-check with Vite and Vue 3.
4​
5## What it checks
6​
7- `src/main.ts` installs `VueQueryPlugin` on the app.
8- `src/App.vue` reads a query with `useQuery`, renders its pending, error, and success states, and renders `VueQueryDevtools`.
9- `vite.config.ts` uses `@vitejs/plugin-vue`.
10- CI runs the `build` (`vite build`) and `test:types` (`vue-tsc --noEmit`) scripts.
11​
12To run it from the repository root:
13​
14- `pnpm nx run @tanstack/query-integration-vue-vite:build`
15- `pnpm nx run @tanstack/query-integration-vue-vite:test:types`