Skip to content

duckdb-wasm-examples/sveltekit-typescript

Repository files navigation

A simple svelte-kit app to show loading duckdb-wasm using svelte-kit.

Andre Kohn has a base svelte example, but it requires a lot of rollup configuration and I want to see how far you can get using vite's built-in ?worker and ?url loaders for the tags.

It doesn't properly negotiate the different bundles, but everything else seems to work.

Example using adapter static on github pages.

To run locally:

git clone https://github.com/duckdb-wasm-examples/sveltekit-typescript sveltekit-typescript
cd sveltekit-typescript
npm i
npm run dev

and visit http://localhost:1922/sveltekit-typescript.

About

Demo of duckdb-wasm in static sveltekit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published