Skip to content

Latest commit

 

History

History

vanilla-indexeddb

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Vanilla IndexedDB Example

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.

Development

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.