Minimal example showing how to load web-sqlite-js from a CDN
in a plain HTML page.
Use the CDN build with no bundler and confirm basic CRUD works in the browser.
https://cdn.jsdelivr.net/npm/web-sqlite-js@1.0.5/dist/index.js.
local.sqlite3.notes table, inserts a sample row, and queries
all rows.
Note: Serve this page with COOP/COEP headers so
SharedArrayBuffer works.
Loading...