integrations/svelte/vite
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack Svelte Query Vite Integration#
Checks that @tanstack/svelte-query and @tanstack/svelte-query-devtools build and type-check with Vite and Svelte 5.
What it checks#
src/main.tsmountssrc/App.sveltewithmount, andsrc/App.sveltewrapssrc/Simple.svelteinQueryClientProvidertogether withSvelteQueryDevtools.src/Simple.sveltereads a query withcreateQueryand renders its pending, error, and success states.vite.config.tsuses thesvelte()plugin withvitePreprocess().- CI runs the
build(vite build) andtest:types(svelte-check) scripts.
To run it from the repository root:
pnpm nx run @tanstack/query-integration-svelte-vite:buildpnpm nx run @tanstack/query-integration-svelte-vite:test:types