This example attaches single BlockSuite document with y-indexeddb
, demonstrating basic provider usage.
Note that here we only save single document in IndexedDB. To persist a doc collection with multiple documents, please refer to the react-indexeddb example.
git clone https://github.com/toeverything/blocksuite.git
cd blocksuite/examples
pnpm install
pnpm dev vanilla-indexeddb
This project is created using the pnpm create vite
cli.