integrations/svelte/sveltekit-2
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack Svelte Query SvelteKit 2 Integration#
Checks that @tanstack/svelte-query and @tanstack/svelte-query-devtools build and type-check with SvelteKit 2 and Svelte 5.
What it checks#
src/routes/+layout.sveltewraps the page inQueryClientProvidertogether withSvelteQueryDevtools.src/routes/+page.sveltereads a query withcreateQueryand renders its pending, error, and success states.vite.config.tspassesvitePreprocess()and@sveltejs/adapter-autoto thesveltekit()plugin.- CI runs the
build(vite build) andtest:types(svelte-kit sync && svelte-check) scripts.
To run it from the repository root:
pnpm nx run @tanstack/query-integration-svelte-sveltekit-2:buildpnpm nx run @tanstack/query-integration-svelte-sveltekit-2:test:types